answersLogoWhite

0


Best Answer

double discount; // Usually code would be read in char code = 'B' ; switch ( code ) { case 'A': discount = 0.0; break; case 'B': discount = 0.1; break; case 'C': discount = 0.2; break; default: discount = 0.3; } System.out.println ( "discount is: " + discount );

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

A switch won't help you in drawing flowcharts, but there are flowcharts templates, witch do.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you draw a flowchart using case statement?
Write your answer...
Submit
Still have questions?
magnify glass
imp