Answer to Question #10672 in C++ for Ivan
Question #10672
how can i return my program to the beginning without exiting
Expert's answer
You can use break or return operator;
int main()
{
int k;
if(k!=5){
return;
}
}
int main()
{
int k;
if(k!=5){
break;
}
}
int main()
{
int k;
if(k!=5){
return;
}
}
int main()
{
int k;
if(k!=5){
break;
}
}
Need a fast expert's response?
Submit orderand get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment