Computer Science, asked by mohammedshifan, 6 months ago

Rewrite the following code after removing the syntax errors.

Underline the corrections made;

I=0;

While(i<5):

I%2=0:

s=s+i

Else:

e=e+i

Print(sum=se)​

Answers

Answered by Anonymous
14

Answer:

Rewrite the following C++ code after removing any/ all syntactical errors with each correction underlined. (2) ... Which function(s) out of the following can be considered as overloaded ... DAT is created with.

Answered by anindyaadhikari13
2

Question:-

Rewrite the following code after removing the errors.

Solution:-

In this code, errors are marked.

I=0;

While(i<5):

I%2=0:

s=s+i

Else:

e=e+i

Print(sum=se)

After removing errors,

I=0

while(I<5):

if I%2=0:

s=s+I

else:

e=e+I

print("sum=", se)

Similar questions