I have a problem here.
Eg,
do {
method1();
method2();
method3();
while(repeat() );
how do i write the repeat() ??
It's needs to take in user inputs (eg, yes,no,y,n) and convert them into boolean.
If input is yes/y, then it will repeat everything again.
If input is no/n,then it will end the whole thing.