Question: Q1) Demonstrate criteria based the MDTD process using the following sample code public class Controlstatenentsinjava f Scanner in- new Scanner(Systen, in); System. out, peint1n(Please enter
Q1) Demonstrate criteria based the MDTD process using the following sample code public class Controlstatenentsinjava f Scanner in- new Scanner(Systen, in); System. out, peint1n("Please enter your age int age-in. nextInt(); else if ((age)=18) 88( (agece35))( System, out.printin ( Your age is betiveen 1s-35"); else if ((age)=35) 88 (agec-50)) System. out.peint 1 ("Your age is between 3550); Jelsef System.out.println("Your age is above 50); Use control flow digram like example below Example
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
