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 03:30
Xtra! extra! backyard birding many schools, families, and young birders across the country participate in the "great backyard bird count." while not as long as a "big year," the "great backyard bird count" happens every year. it depends on birders and families across the country to watch feeders and other areas in their yards and count the number of birds they see. unlike the "big year," the goal is not to see who can count the most birds. instead, participants in this event work together to bird experts get a good idea of how birds are doing. participants are given checklists and enter their sightings on a website. called a "citizen-science" project, this event is open to anyone, requires no travel, and happens every year over one weekend in february. what is the main idea of the "extra! extra! " section of the article? some birding contests are for everyone. backyard birding is fun and interesting. all birding us learn about birds. everyone should be a birder.
Answers: 1
question
World Languages, 24.06.2019 10:30
Voice is the varying of pitch when speaking.
Answers: 1
question
World Languages, 25.06.2019 20:30
Who can translate this tá an-deacair ag an ngaeilge
Answers: 1
question
World Languages, 26.06.2019 23:00
The restaurant joe's tasty burgers just created a new hamburger that they call "the joe special." they want to protect the name of the burger so that no other restaurants can claim the name for themselves. what protection will they need on the name "the joe special"? a. fair use b. copyright c. trademark d. patent
Answers: 2
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
English, 08.07.2020 21:01
Questions on the website: 13722363