subject

3. the following code will not display the results expected by the programmer. can
you find the error?

declare real lowest, highest, average

display "enter the lowest score."
input lowest

display "enter the highest score."
input highest

set average = low + high / 2
display "the average is ", average, "."

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:10
Asequential circuit contains a register of four flip-flops. initially a binary number n (0000 ≤ n ≤ 1100) is stored in the flip-flops. after a single clock pulse is applied to the circuit, the register should contain n + 0011. in other words, the function of the sequential circuit is to add 3 to the contents of a 4-bit register. design and implement this circuit using j-k flip-flops.
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
The camera still is bad even with the new iphone xr and especially in low light it is even worst because you can see the pixels more if its in low light. if all you apple customers want apple to fix this then lets fill there feedback with complaints about the
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
What are loans to a company or government for a set amount of time
Answers: 1
question
Computers and Technology, 23.06.2019 21:00
Which task uses a simple parameter?
Answers: 1
You know the right answer?
3. the following code will not display the results expected by the programmer. can
you find th...
Questions
question
Mathematics, 11.11.2020 06:40
question
Mathematics, 11.11.2020 06:40
question
Mathematics, 11.11.2020 06:40
Questions on the website: 13722367