i want to return begining in void function(); like return in main();
if is wrong number i want to ask till number right.
but my codes returning the main all the time i tryidbut still same. does anybody know how kan i return????return;
Code:void function( ) { cout<<"WHAT IS THE NUMBER:"; cin>>number; cin.get(); for(int i=0; i<Size; i++) { if (NUMBER RIGHT) { cout<<"\NUMBER RIHGT"<<endl; cin.get(); break; } } if(NUMBER WRONG) { cout<<"\WRONG NUMBER TRY AGAIN"; cin.get(); } }