The system you design must include the following specification, A startup message that displays the Company Name and Branch, Current Date and the Current Time A secure login screen which allows only the users represented in Table 1 to enter the system. Any other user must be greeted with a warning message reading “Incorrect username/password. Please try again” A maximum of only three login attempts must be given after which the system must exit. Once the user has successfully logged in, he/she must be presented with three options, + Menu Details +Bill Calculator +Log Out A user choosing the Menu Details must be presented with the entire menu details list (Item Code, Juice Name and Price) saved on a system. A user choosing the Bill Calculator option must be presented with four entries. Item Name, Quantity, Price Per Unit and Offers based on these details it should need to calculate total bill. A user choosing the Logout, he/she should be able to logout form the system. The system must clear the screen after each menu/output. The system must be continuous system where after the end of an operation the user must decide if he/she wants to proceed to the main menu or exit. The system must only exit if the user keys in ‘No’ (N/n) and must proceed to the main menu if the user keys in ‘Yes’ (Y/y). Question : List the different operators that have been used in your program with a brief explanation for your choice and List the variables in your program that can be declared as a global variable and a local variable. Explain, in detail, the scope of a variable by using examples from your program.
The Certis beverage corporation (Pvt) Ltd is largest juice bar chain in Sri Lanka. Its management
has decided to implement a computer software to provide detailed bill to their customers. Your
initial task is to show your computer
essentially manage the requirement of the organization. Your supervisor explains the basic
design requirements for designing the automated billing program.
The
A startup message that displays the Company Name and Branch, Current Date and the
Current Time
A secure login screen which allows only the users represented in Table 1 to enter the
system. Any other user must be greeted with a warning message reading “Incorrect
username/password. Please try again”
A maximum of only three login attempts must be given after which the system must exit.
Once the user has successfully logged in, he/she must be presented with three options,
+ Menu Details
+Bill Calculator
+Log Out
A user choosing the Menu Details must be presented with the entire menu details list (Item
Code, Juice Name and Price) saved on a system.
A user choosing the Bill Calculator option must be presented with four entries. Item Name,
Quantity, Price Per Unit and Offers based on these details it should need to calculate total
bill.
A user choosing the Logout, he/she should be able to logout form the system.
The system must clear the screen after each menu/output.
The system must be continuous system where after the end of an operation the user must
decide if he/she wants to proceed to the main menu or exit. The system must only exit if the
user keys in ‘No’ (N/n) and must proceed to the main menu if the user keys in ‘Yes’ (Y/y).
Question : List the different operators that have been used in your program with a brief explanation for your
choice and List the variables in your program that can be declared as a global variable and a local variable.
Explain, in detail, the scope of a variable by using examples from your program.
Trending now
This is a popular solution!
Step by step
Solved in 5 steps with 7 images
List the variables in your program that can be declared as a global variable and a local variable.
Explain, in detail, the scope of a variable by using examples from your program.