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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

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 programming skills by designing a billing program to
essentially manage the requirement of the organization. Your supervisor explains the basic
design requirements for designing the automated billing program.


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. 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 7 images

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

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. 

Solution
Bartleby Expert
SEE SOLUTION
Knowledge Booster
Data Recovery Approaches
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education