3. Solar Panel Installation The Megawatt solar panel company installs solar panels on home rooftops. The base installation charge of $2,000 includes two panels. The charge for each additional panel is $300. The normal waiting time for installation is two weeks, but customers can pay an express charge of 5% of the total cost to reduce this time. Create an application that collects the required information from the user and calculates the charges for the installation. The user should input the following information: first name, last name, phone, number of panels, deposit amount, and a check box for the express installation option. When the user clicks a button to view the charges, display a group box containing the following information: base installation charge, cost of installing additional panels, total installation cost, deposit amount, and balance due. Error checking should include the following criteria: • The name and phone fields cannot be blank • The number of panels must be an integer between 1 and 1,000 • The deposit amount must be a numeric value greater than 0. Use separate procedures and functions for validation and calculations whenever possible. For example, validation of user inputs should be performed in a separate Boolean function, called from the Click handler of the Calculate Charges button. Display error messages whenever appropriate. When the application starts, as in Figure 6-24, the Charges group box should be invisible. After the user clicks the Calculate Charges button and all inputs are validated, the Charges group box should appear, as shown in Figure 6-25. If the deposit amount was greater than the total charges, change the caption of the final field from “Balance due” to “Refund”. When the user clicks the Clear button, clear all inputs and hide the Charges group box.   made In visual basic 2017

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

3. Solar Panel Installation
The Megawatt solar panel company installs solar panels on home rooftops. The
base installation charge of $2,000 includes two panels. The charge for each additional panel is $300. The normal waiting time for installation is two weeks, but
customers can pay an express charge of 5% of the total cost to reduce this time.
Create an application that collects the required information from the user and calculates the charges for the installation.
The user should input the following information: first name, last name, phone,
number of panels, deposit amount, and a check box for the express installation
option. When the user clicks a button to view the charges, display a group box containing the following information: base installation charge, cost of installing additional panels, total installation cost, deposit amount, and balance due.
Error checking should include the following criteria:
• The name and phone fields cannot be blank
• The number of panels must be an integer between 1 and 1,000
• The deposit amount must be a numeric value greater than 0.
Use separate procedures and functions for validation and calculations whenever
possible. For example, validation of user inputs should be performed in a separate
Boolean function, called from the Click handler of the Calculate Charges button.
Display error messages whenever appropriate.
When the application starts, as in Figure 6-24, the Charges group box should be
invisible. After the user clicks the Calculate Charges button and all inputs are validated, the Charges group box should appear, as shown in Figure 6-25. If the deposit
amount was greater than the total charges, change the caption of the final field from
“Balance due” to “Refund”. When the user clicks the Clear button, clear all inputs
and hide the Charges group box.

 

made In visual basic 2017

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 4 images

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

I need the Form Design for the Solar Panel Installation

Solution
Bartleby Expert
SEE SOLUTION
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