1.

The following code has error(s). Rewrite the correct code underlining all the corrections made :int start=2;end=20;do;{start=start+start;while(start<=end)

Answer»

int start=2,end=20; //Correction 1

do //Correction 2

{

start=start+start;

} //Correction 3

while(start<=end);  //Correction 4



Discussion

No Comment Found

Related InterviewSolutions