Question: please draw a flowchart for the given code. thank you do { displayMenu (); System. out .println(Enter your choice:); switch(ch) { case 1: getAllFiles ();
please draw a flowchart for the given code. thank you
do
{
displayMenu();
System.out.println("Enter your choice:");
switch(ch)
{
case 1:getAllFiles();
break;
case 2:createFiles();
break;
case 3:deleteFiles();
break;
case 4: searchFiles();
break;
case 5: System.exit(0);
break;
default: System.out.println("Invalid option");
break;
}
}
while(ch>0);
obj.close();
}
end.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
