alien.py part 2

screen-shot-2016-12-22-at-12-45-24-pm

img_1902

PSEUDOCODE:

  • The program will run.
  • The program will set initial variable for start,week, startCheck and weekCheck.
  • The screen will show an introduction about this program.
  • The program will ask the user first question “how many alien landed?”
  • If the answer is not positive integer, the program will set a loop back to the  first question and ask for a positive integer.
  • The program will ask the user second question “how long they had landed?”
  • If the answer is not positive integer, the program will set a loop back to the  second question and ask for a positive integer.
  • Once both answer are positive integer the program will calculation the amount of alien after certain amount of week.
  • The program will end.

screen-shot-2017-01-13-at-3-52-25-pm

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s