COM4011: The flowchart and pseudo-code to display the menu as in Figure 1: Introduction to Programming, Assignment, AU, UK

Task 1

1) Provide the flowchart and pseudo-code to display the menu as in Figure 1. Once an option is selected and the code for the option executed, the menu should be displayed again. The program should terminate only when the option for exit is selected.

a) Explain how you have validated user input (choice selection) and checked for any possible logical errors, while justifying the data types you have used.

b) Flowchart and pseudocode should use standard conventions and format such as indentations, capitalisation, descriptive names for variables/methods, keywords, operators etc.

c) The program should take the user input for menu options and execute the appropriate method. When option 1 is selected the method ‘orderDetailsAndPriceCalculation’ should be executed. When option 2 is selected the method ‘summaryStatistics’ should be executed.

d) At this stage each method should only have a print statement such as ‘A bouquet has been ordered’ or ‘Summary statistics provided’. No actual choices for the bouquet’s size/flower/colour, calculation and display of price or calculation of summary statistics are required. The complete Java methods for selection of option 1 and option 2 will need to be written in task 2 and task 3 respectively. 2) Write a Java program based on the algorithm with comments to illustrate the program flow. a) The program should take the user input for menu options and execute the appropriate method.

3) Test your program by displaying the menu and selecting the various options when the menu is displayed. Provide screenshots for the output of the program showing the correct execution of all menu options.

4) Provide the Java code for this task in the Appendix as text for verification.

Are You Looking for Answer of This Assignment or Essay

Pay & Buy Non Plagiarized Assignment

The post COM4011: The flowchart and pseudo-code to display the menu as in Figure 1: Introduction to Programming, Assignment, AU, UK appeared first on Students Assignment Help UK.

Reference no: EM132069492

WhatsApp
Hello! Need help with your assignments? We are here

GRAB 25% OFF YOUR ORDERS TODAY

X