Question: Can you help me to solve this problem? When I am working on a complicated programming problem I write out the steps I will take

 Can you help me to solve this problem? When I am

Can you help me to solve this problem?

When I am working on a complicated programming problem I write out the steps I will take in solving it in English as comments before I write a line of code. Once I have figured out my steps in normal written English, then I write my code I want you to write out the steps for solving the following problem in English. Then I want you to read other student's written steps and comment on how you might change what they have done. Please comment on at least one person's work. The problem: Write a guessing game where the user has to guess a secret number between 1 and 100. After every guess the program tells the user whether their number was too large or too small. Once guessed correctly, the number of tries used should be printed. It counts only as one try if they input the same number multiple times consecutively. (Look familiar?)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!