subject
World Languages, 13.12.2021 22:00 noahook84

Write a program that asks the user to enter two integer numbers X and Y. The program halves each number between X and Y then prints the values on the screen. For example: If X=5 and Y=7, the program prints the following values 5/2=2.5, 6/2=3 and 7/2=3.5
Your program also counts the values that are greater or equal to 3.

Sample run 1:
Enter X and Y: 5 7
2.5 3 3.5
Values greater or equal to 3 are 2

Sample run 2:
Enter X and Y: 15 10
5 5.5 6 6.5 7 7.5
Values greater or equal to 3 are 6

ansver
Answers: 2

Another question on World Languages

question
World Languages, 23.06.2019 13:40
Organizing supporting materials within your outline is important. for your outline, which of the following ensures each element of the outline should express one idea; this way themes do not overlap or appear redundant?
Answers: 2
question
World Languages, 23.06.2019 20:50
Ano ang ibig sabihin ng hugot lines
Answers: 1
question
World Languages, 24.06.2019 02:00
Wymyśl jak wyginęły smoki. napisz opowiadanie 8 zdań minimum. daje naj pls to na jutro ; _:
Answers: 2
question
World Languages, 24.06.2019 21:30
What does this tattoo mean in english?
Answers: 1
You know the right answer?
Write a program that asks the user to enter two integer numbers X and Y. The program halves each num...
Questions
question
Mathematics, 12.01.2021 19:10
question
Mathematics, 12.01.2021 19:10
question
Mathematics, 12.01.2021 19:10
question
Mathematics, 12.01.2021 19:10
question
Mathematics, 12.01.2021 19:10
question
Mathematics, 12.01.2021 19:10
Questions on the website: 13722360