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, 22.06.2019 10:30
Hen describe the changes you made in 2-3 sentences, as well as how they change the poem to a more narrative form.hen describe the changes you made in 2-3 sentences, as well as how they change the poem to a more narrative form.
Answers: 1
question
World Languages, 25.06.2019 04:00
Bihots ausarta resumen cada kapitulo
Answers: 1
question
World Languages, 26.06.2019 07:00
Which sentence uses the denotative meaning of the word blue? i was feeling pretty blue when i lost my favorite earrings. i wore a blue scarf to complement the color of my eyes. the characters in the book all seemed rather blue. the movie’s ending always puts me in a blue mood.
Answers: 1
question
World Languages, 26.06.2019 08:00
Is anyone in 6th grade here because i only see high school stuff
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
Biology, 28.10.2020 04:20
question
Mathematics, 28.10.2020 04:20
question
English, 28.10.2020 04:20
question
Health, 28.10.2020 04:20
question
Mathematics, 28.10.2020 04:20
Questions on the website: 13722367