Dear all,
I have one question.
Enter a persons weight in kilograms and height in metres. Calculate the persons Quetelet Index (kolos/(meters *meters)). Print out the Quetelet Index and an appropriate message as indicated by the table below.
Below 20 Underweight
20 to below 35 Healthy weight
25 to below 30 Midly overweight
30 to below 40 Very overweight
40 and above Extermely overweight
I did this using If else statement but now i want to do this with switch statement.I tried but not successfull. Please help and guide.