subject

(rounding numbers) an application of function floor is rounding a value to the nearest
integer. the statement
y = floor( x + .5 );
will round the number x to the nearest integer and assign the result to y. write a program that reads
several numbers and uses the preceding statement to round each of these numbers to the nearest
integer. for each number processed, print both the original number and the rounded number.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:50
Explain why it is reasonable to assume that receiving 3 duplicate acks in tcp is an indication that the network is not currently congested.
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
Which are examples of note-taking tools? check all that recording devices sticky notes digital highlighters paper flags highlighting pens digital displays digital flags
Answers: 1
question
Computers and Technology, 22.06.2019 13:30
In which phase does software coding and testing happen in the spiral model? the spiral model does not have a separate testing phase. both, software coding and testing occurs during the phase.
Answers: 3
question
Computers and Technology, 22.06.2019 15:00
This is not a factor that you should use to determine the content of your presentation. your audience your goals your purpose your technology
Answers: 1
You know the right answer?
(rounding numbers) an application of function floor is rounding a value to the nearest
integer...
Questions
question
Mathematics, 02.10.2019 20:00
Questions on the website: 13722367