World Languages
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

answer
Answers: 2

Other questions on the subject: World Languages

image
World Languages, 23.06.2019 08:00, Mosoete4219
Describe how chinese and america culture, culture values an historical context contribute to the conflicts between the mother and the narrator in "two kinds"
Answers: 1
image
World Languages, 23.06.2019 18:00, julesR6646
Ineed asap try writing a poem in pentameter about a major theme emerging in the iliad. possible options: loyalty, pride, competition, friendship, forgiveness, stubbornness, or warfare. you can use enjambment to your meter work. also, make sure every ten lines rhyme. your poem should also be twenty-six lines long.
Answers: 1
image
World Languages, 25.06.2019 10:00, aupein
Choose the correct latin translation for the capitalized word. the very long speech was boring. longissimus longius longissime longior choose the correct latin translation for the capitalized word. he was highly respected. altus alte altius altissime that man with his "city-slicker" ways swept that country girl right off her feet! ocular communal aestival urbane
Answers: 1
image
World Languages, 26.06.2019 01:00, niescarlosj
Lisha’s teacher usually includes lots of comments on student tests to them understand why their answers were incorrect.
Answers: 1
Do you know the correct answer?
Write a program that asks the user to enter two integer numbers X and Y. The program halves each num...

Questions in other subjects:

Konu
Mathematics, 10.11.2020 09:10
Konu
Mathematics, 10.11.2020 09:10
Konu
Mathematics, 10.11.2020 09:10
Konu
Mathematics, 10.11.2020 09:10
Konu
Social Studies, 10.11.2020 09:10