0

Write a program by c++ language to find summation of five intger numbers ,note use for looping statment .

4th Apr 2017, 11:38 PM
Zeyad Sharo
Zeyad Sharo - avatar
4 ответов
+ 16
int sum = 0; int value; for(int x = 0; x < 5; ++x) { cin >> value; sum += value; } cout << sum;
4th Apr 2017, 11:41 PM
Jafca
Jafca - avatar
+ 1
https://youtu.be/cNze5ZAlp2w SEE C PROGRAM SUMMATION
2nd Aug 2017, 1:30 PM
Jamiul Alam Rejon
Jamiul Alam Rejon - avatar
+ 1
thanks jamiul
2nd Aug 2017, 9:04 PM
Zeyad Sharo
Zeyad Sharo - avatar
0
thanks for you answering
4th Apr 2017, 11:42 PM
Zeyad Sharo
Zeyad Sharo - avatar