1.Start
2. Input a,b,c
3. Sum = a+b+c
4. Average = sum/3
5. Output - Sum,Average
6. Stop
start input a,b,c,d,e sum=a+b+c+d+e avg=sum/5 print"average is"; avg
Start print "the sum of all even numbers is infinite" end
Start Input A Input B C=A+B Print C END
start read a read b c=a-b print c end
Give your numbers the names 'A' and 'B', and use these program lines. Whichever of the two numbers is greater will be printed. G = A If B > A THEN G = B. PRINT "The greater number is "; G
start input a,b,c,d,e sum=a+b+c+d+e avg=sum/5 print"average is"; avg
PRINT 2,3,5,7,11,13,17,19,23,29,31,37
Compute & print the sum of a set of data values
create chart than print chart
Yes. Use cin and/or getline to read the formatted data into an array, compute the average then output the result using cout.
If you click a chart before you print the worksheet, you will print only the chart. If you want to print the entire worksheet (including the chart), click in a cell that does not contain a chart (an empty cell is the best).
You can find an amortization calculator, which will produce a chart based on your numbers, online at http://www.myamortizationchart.com You can use this chart for free and print out your final copy if you so desire.
Cls input "enter two no.s ",a,b sum=a+b print "sum = ";sum end
You would print only the selected chart or object.
start input x input y x + y output z End
Computers aren't discovered; they are DESIGNED to do what they do. Engineers and programmers worked to develope computers since the 1940's so they could compute and then designed them to print and draw and operate machinery, etc. The question is too general to give a precise answer.
You can do it both ways.