subject

1.  Write a program that read in a number and gives the user 3 chances to guess the square of that number, if the user gets the square right, the program stops and display the message “you are correct”, if the user gets the guess wrong, the program displays the message “wrong guess please try again” if 3 chances have been exhausted the program stops and displays the message “You have exhausted all three chances”.​

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 05:00, sharkboy578
Acompany is inviting design for its new corporate logo from its users. this is an example of ? a. crowdfunding b. crowdvoting c. crowdsourced design d. crowdtracking
Answers: 3
image
Computers and Technology, 24.06.2019 15:00, firdausmohammed80
Universal windows platform is designed for which windows 10 version?
Answers: 1
image
Computers and Technology, 24.06.2019 21:30, moonk7733
The hybrid uses 144 to 158 volt batteries.
Answers: 1
image
Computers and Technology, 25.06.2019 01:30, marianaescamilla404
What was the advantage of using transistors instead of vacuum tubes in the second-generation computers? a. computers were drastically reduced in size. b. computers no longer produced errors. c. computers became affordable. d. computers could run on electricity.
Answers: 1
You know the right answer?
1.  Write a program that read in a number and gives the user 3 chances to guess the square of that n...

Questions in other subjects:

Konu
Mathematics, 19.11.2020 18:20
Konu
Mathematics, 19.11.2020 18:20
Konu
Arts, 19.11.2020 18:20