123456789101112131415161718192021222324252627
#include <iostream> #include <conio.h> using namespace std; int main() { int i,x,s=0; i = 0; do { cout << "Please Enter Number >" << '\t'; cin >> x; s = s + x; i++; } while (i != 5); cout << "sum = " << s << '\t' <<'\n'; return 0; }