A c++ program that asks the user to type 10 integers and then writes the sum of the integers
1
Expert's answer
2012-02-28T11:55:34-0500
#include <iostream.h> & int i,integer,sum=0;
void main(){ for (i=1;i<=10;i++){ & cout<<"Enter an integer:"; & cin>>integer; & sum = sum + integer; } cout<<" The sum of entered integers is "<<sum<<"\n"; }
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment