C++ offers many different data types each differing in the type of data they store, the range for  each type and the size required to store each data type. List the different data types that you  would need to utilize for designing your program by justifying the reason for your choice.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

C++ offers many different data types each differing in the type of data they store, the range for 
each type and the size required to store each data type. List the different data types that you 
would need to utilize for designing your program by justifying the reason for your choice. 

As a geographical advantageously located topical country close to equator, where sunlight
remains 365 days per year, 8 to 10 hours a day, is a great intensity for generation of solar
electricity. Therefore solar energy has a great potential as future energy source in Sri Lanka.
WinSo Energy Resources is the world's largest generator of wind and solar renewable energy.
Its Sri Lankan branch 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,
• Electricity Tariff Details
•
• Log Out
Bill Calculator
> A user choosing the Electricity Tariff Details must be presented with the entire menu
details list (Consumer Category, Energy Charge for Kilowatt hour and Fixed Price) saved on
a system.
➤ A user choosing the Bill Calculator option must be presented with four entries. Consumer
Category, Number of units, Energy Charge for Kilowatt hour based on these details it should
need to calculate total bill.
Transcribed Image Text:As a geographical advantageously located topical country close to equator, where sunlight remains 365 days per year, 8 to 10 hours a day, is a great intensity for generation of solar electricity. Therefore solar energy has a great potential as future energy source in Sri Lanka. WinSo Energy Resources is the world's largest generator of wind and solar renewable energy. Its Sri Lankan branch 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, • Electricity Tariff Details • • Log Out Bill Calculator > A user choosing the Electricity Tariff Details must be presented with the entire menu details list (Consumer Category, Energy Charge for Kilowatt hour and Fixed Price) saved on a system. ➤ A user choosing the Bill Calculator option must be presented with four entries. Consumer Category, Number of units, Energy Charge for Kilowatt hour 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.
Table 1 - Login username and password for Inventory Management System
Name
Username
Any User name
Your Name
System Administrator
Mr. Jake Peralta
Finance Manager
Mr. Kevin Cozner
Area Manager
jake
Kevin22
Password
Any Password
jake@wiso
winsoSL123
➤ 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).
Transcribed Image Text:➤ A user choosing the Logout, he/she should be able to logout form the system. Table 1 - Login username and password for Inventory Management System Name Username Any User name Your Name System Administrator Mr. Jake Peralta Finance Manager Mr. Kevin Cozner Area Manager jake Kevin22 Password Any Password jake@wiso winsoSL123 ➤ 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).
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY