Write a program that tallies the number of positive, negative, even, and odd values in a set of integers that are input from the keyboard. The program should first prompt for the number of input...

Write a program that tallies the number of positive, negative, even, and odd values in a set of integers that are input from the keyboard. The program should first prompt for the number of input values that will be given. Than, use a loop to input integers one at a time. For each of the integers input, determine if the integer is positive or negative, and if it is even or odd. The program should then produce a tally of the number of positives, negatives, evens, and odds in the input set. Your prompts and input should be similar to the sample shown above. Use the cisc225-nasm64io project template.


Sign and Even/Odd Tally Write a program that tallies the number of positive, negative, even, and odd values in a set of integers that are input from the keyboard. The program should first prompt for the number of input values that will be given. Than, use a loop to input integers one at a time. For each of the integers input, determine if the integer is positive or negative, and if it is even or odd. The program should then produce a tally of the number of positives, negatives, evens, and odds in the input set. Here is a sample run of the program: How many input values? 8 Enter integer: 35 Enter integer: 31 Enter integer: -16 Enter integer: -1 Enter integer: 0 Enter integer: 2 Enter integer: -12 Enter integer: 17 Count of positives: 4 Count of negatives: 3 Count of evens: 4 Count of odds: 4 Your prompts and input should be similar to the sample shown above. Use the cisc225-nasm64io project template. Sign and Even/Odd Tally
Oct 21, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here