1.

Rewrite the following code so that it is functional:

Answer»
Given codeFunction code
v=5;
do;
{
total + v;
cout <<total;
while v< = 10
int c = 5, total = 0;
do
{
total + = v;
cout <<total;
v++;}
while(c<=10);


Discussion

No Comment Found