Answer to Question #10672 in C++ for Ivan

Question #10672
how can i return my program to the beginning without exiting
1
Expert's answer
2012-06-08T11:27:16-0400
You can use break or return operator;


int main()
{
int k;
if(k!=5){
return;
}
}
int main()
{
int k;
if(k!=5){
break;
}
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS