Question: Question 1 .mm [25 Marks] Write a program to read 6 numbers and display the following counts: NPos: the number of positive ones NNeg: the
Question 1 .mm [25 Marks] Write a program to read 6 numbers and display the following counts: NPos: the number of positive ones NNeg: the number of negative ones NZero: the number of null ones NOTE: Write both flowchart for the program then the C++ code. /*this program reads 6 numbers and displays the following counts: 25 Marksl Write a program that asks for the names of three runners and the time it took each of them to finish a race. The program should display who came in first, second, and third place. Input Validation: Be sure the names do not overflow the arrays. Only accept positive numbers for the times Question 2 Question3 .. 125 Marks Write a program to calculate the following series Sum = 1+3+5+7+9+11 +13 + 15 + N, the user has to enter the value of N and N should be an odd number, if N was entered as an even number you should print a message "Wrong Input!", else if odd number find the sum of the series. The output should be: Please enter an odd number for n: 13 Sum 1 + 3 + 5 + 7 + 9 + 11 + 13 = 49
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
