SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 304 Weeks Ago, 3 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 19 Nov 2017 My Price 8.00

program that reads a number from the input stream

CMPSC 101 LAB 8 - Guessing game

write program that reads a number from the input stream and does not display it. Next, ask the user to try to guess the number; give up to three guesses. For example: I am thinking of a number between 1 and 10. Can you guess it within 3 guesses? Enter guess #1: 6 Enter guess #2: 7 Enter guess #3: 8 You lose! The number was 5 Another example: I am thinking of a number between 1 and 10. Can you guess it within 3 guesses? Enter guess #1: 66 Please try again Enter guess #1: 67 Please try again Enter guess #1: 68 Please try again Enter guess #1: 6 Enter guess #2: 7 Enter guess #3: 8 You lose! The number was 5 Run it 6 times with different data, showing at least one run from each of the following situations: 1. Never guesses correctly 2. Guesses correctly on the first guess 3. Guesses correctly on the second guess 4. Guesses correctly on the third guess 5. Hidden value is out of bounds (the program should display a message then end) 6. User-entered value is out of bounds (the program should display a message then allow the user to re-try) Then, following the instructions in the "How to package and submit your labs" video, package up your work. Double check to confirm that the package is complete (i.e., all the header info, the code, the screen shots, the output, etc.), and then submit it to the drop box. Next, go back and confirm that the submission is in the drop box!

Answers

(5)
Status NEW Posted 19 Nov 2017 11:11 AM My Price 8.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)