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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:30
1. technician a says horsepower information can be used by consumers to compare the power of different automobile engines. technician b says that manufacturers will often list the horsepower output of their engines in the online service information. who is right?
Answers: 2
question
Computers and Technology, 22.06.2019 18:00
Suppose an astronomer discovers a large, spherical-shaped body orbiting the sun. the body is composed mostly of rock, and there are no other bodies sharing its orbit. what is the best way to categorize this body? a. planet b. moon c. comet d. asteroid
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
What does 21 pilots middle aged name as a band 15 years prior to them naming their band 21 pilots?
Answers: 1
question
Computers and Technology, 23.06.2019 01:50
Write a program that uses a random number generator to generate a two digit positive integer and allows the user to perform one or more of the following operations: a. double the number. b. reverse the digits of the number. c. raise the number to the power of 2, 3, or 4. d. sum the digits of the number. e. if the number is a two-digit number, then raise the first digit to the power of the second digit. f. if the number is a three-digit number and the last digit is less than or equal to 4, then raise the first two digits to the power of the last digit. after performing an operation if the number is less than 10, add 10 to the number. also, after each operation determine if the number is prime. each successive operation should be performed on the number generated by the last operation. your program should not contain any global variables and each of these operations must be implemented by a separate function. also, your program should be menu driven. 7. (fraction calculator) write a program that
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
question
Mathematics, 14.09.2020 06:01
question
English, 14.09.2020 06:01
question
English, 14.09.2020 06:01
question
Mathematics, 14.09.2020 06:01
question
Mathematics, 14.09.2020 06:01
question
Mathematics, 14.09.2020 06:01
question
Chemistry, 14.09.2020 06:01
question
English, 14.09.2020 06:01
question
English, 14.09.2020 06:01
question
Mathematics, 14.09.2020 06:01
question
Mathematics, 14.09.2020 06:01
question
Mathematics, 14.09.2020 06:01
question
Social Studies, 14.09.2020 06:01
question
Arts, 14.09.2020 06:01
question
Chemistry, 14.09.2020 06:01
question
English, 14.09.2020 06:01
question
English, 14.09.2020 06:01
question
Mathematics, 14.09.2020 06:01
question
Mathematics, 14.09.2020 06:01
question
Chemistry, 14.09.2020 06:01
Questions on the website: 13722367