Computer Science, asked by Vintagebroken, 1 year ago

What will be the output of the following c++ program. How many times will the loop get executed.
#include iostream.h
void main() {
int num=10,sum=0,i=1;
while(i<=num) {
sum=sum+i;
i++;
}

Answers

Answered by RagingEmber
0
are you sure that programme is correct
Answered by Ayusharyan1
0
The answer for this question is 55

king180: hello bhosdi ke
king180: saale rply kar
Similar questions