Computers and Technology, 02.11.2020 14:00 jocelynmarquillo1
Assignment 4 evens and odds
Write a program that will ask a user for how many numbers they would like to check. Then, using a for loop, prompt the user for a number, and output if that number is even or odd. Continue doing this as many times as the user indicated. Once the loop ends, output how many even numbers were entered and how many odd numbers were entered.
Sample Run 1
How many numbers do you need to check? 5
Enter number: 20
20 is an even number.
Enter number: 33
33 is an odd number.
Enter number: 4
4 is an even number.
Enter number: 77
77 is an odd number.
Enter number: 8
8 is an even number.
You entered 3 even number(s).
You entered 2 odd number(s).
Sample Run 2
How many numbers do you need to check? 3
Enter number: 10
10 is an even number.
Enter number: 3
3 is an odd number.
Enter number: 400
You entered 2 even number(s).
You entered 1 odd number(s).
Answers: 3
Computers and Technology, 22.06.2019 04:30
Kyle, a receptionist for a building supply company, recently won an award for saving his company money on their phone system. after being presented with kyle's research, the company changed the way in which it made long-distance phone calls and cut their expenses in this area by 75 percent. the new system the kyle's company most likely adopted was wired communications switching stations voip hdtv
Answers: 3
Computers and Technology, 22.06.2019 20:00
Awide variety of “ apps “ are available to customize devices. which category of app does the word processing software fall into?
Answers: 2
Computers and Technology, 23.06.2019 17:00
*! 20 points! *jeff wants to create a website with interactive and dynamic content. which programming language will he use? a. dhtml b. html c. css d. javascript
Answers: 1
Assignment 4 evens and odds
Write a program that will ask a user for how many numbers they would li...
English, 20.05.2021 22:10
History, 20.05.2021 22:10
Arts, 20.05.2021 22:10
Biology, 20.05.2021 22:10
English, 20.05.2021 22:10
English, 20.05.2021 22:10
Mathematics, 20.05.2021 22:10
Chemistry, 20.05.2021 22:10
Mathematics, 20.05.2021 22:10
History, 20.05.2021 22:10
English, 20.05.2021 22:10
Mathematics, 20.05.2021 22:10