I just wanted to find out how I would go about closing this loop. Every time I try to compile this code it has an error that it is "expecting a while" In my case I was wondering what the "while would be"
do
{
write("Choose wisely: ");
line = read_line();
option - convert_to_integer(line);
switch(option)
{
case 1:
test_details();
break;
case 2:
guessing_game();
break;
case 3:
write_line("Goodbye and Good Riddance");
break;
write_line("Please enter an option from the menu");
}
return 0;
}