#include <iostream> using namespace std; void main() { int i=1; int sum =0; do{ if (i%7==0) { cout <<i << “ ”; sum+=i; } i++; }while(i<100); cout <<endl <<“sum =”<<sum; }
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments