Question: Please use ideaone.com to demonstrate not written. CMIS 102 Hands-On Lab Week 5 Overview This hands-on lab allows you to follow and experiment with the
Please use ideaone.com to demonstrate not written.









CMIS 102 Hands-On Lab Week 5 Overview This hands-on lab allows you to follow and experiment with the critical steps ofdeveloping a program including the program description, analysis, test plan, design (using pseudocode), and implementation with C code. The example provided uses sequential, selection and repetition statements. Program Description This program will calculate the average of 10 positive integers. The program will ask the user to 10 integers. If any of the values entered is negative, a message will be displayed asking the user to enter a value greater than 0. The program will use a loop to input the data Analysis will use sequential, selection and repetition programming statements I will define two integer numbers: count, value and sum. count will store how many times values are entered. value will store the input. Sum will store the sum of all 10 integers I will define one double number: avg. avg will store the average of the ten positive integers input The sum will be calculated by this formula: sum sum value For example, if the first value entered was 4 and second was 10: sum sum value 0 4 sum 4 10 14 Values and sum can be input and calculated within a repetition loop: while count
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
