subject

Marty stepp (on 2016/09/08) write a sentinel loop that repeatedly prompts the user to enter a number and, once the number -1 is typed, displays the maximum and minimum numbers that the user entered. here is a sample dialogue: type a number (or -1 to stop): 5
type a number (or -1 to stop): 2
type a number (or -1 to stop): 17
type a number (or -1 to stop): 8
type a number (or -1 to stop): -1
maximum was 17
minimum was 2

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 20:40, wutdmgamerz
Assume that there is a 4% rate of disk drive failure in a year. a. if all your computer data is stored on a hard disk drive with a copy stored on a second hard disk drive, what is the probability that during a year, you can avoid catastrophe with at least one working drive? b. if copies of all your computer data are stored on three independent hard disk drives, what is the probability that during a year, you can avoid catastrophe with at least one working drive?
Answers: 1
image
Computers and Technology, 25.06.2019 05:30, AM28
Two technicians are discussing a resistance measurement. technician a states that components being measured should be removed or isolated from the circuit. technician b states that power to the circuit should be disconnected when measuring resistance. which technician is correct?
Answers: 1
image
Computers and Technology, 25.06.2019 08:00, sierranowe2003
7. test average and grade write a program that asks the user to enter five test scores. the program should display a letter grade for each score and the average test score. write the following methods in the program: calcaverage: this method should accept five test scores as arguments and return the average of the scores. determinegrade: this method should accept a test score as an argument and return a letter grade for the score, based on the following grading scale: score letter grade 90-100 a 80-89 b 70-79 c 60-69 d below 60 f
Answers: 1
image
Computers and Technology, 25.06.2019 08:20, dkckdkcekkxgmaipcom
The binary numbering system uses only two symbols—the digits 0 and 1—to represent all possible numbers. - true or false
Answers: 3
You know the right answer?
Marty stepp (on 2016/09/08) write a sentinel loop that repeatedly prompts the user to enter a number...

Questions in other subjects:

Konu
Mathematics, 01.09.2021 19:10
Konu
Mathematics, 01.09.2021 19:10