Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using the given products (parts) as well as their prices, you can develop an application with these details. The following screenshots give you an example
Using the given products (parts) as well as their prices, you can develop an application with these details. The following screenshots give you an example of what the application must do. An officer from a car part distribution centre has requested that you develop a calculator app that will process invoices for their clients. Here are the parts that the centre sells for the Chevrolet Aveo: Using the given products (parts) as well as their prices, you can develop an application with these details. The following screenshots give you an example of what the application must \begin{tabular}{|l|l|l|} \hline Application & Function & Marks \\ \hline GUI & \begin{tabular}{l} The controls are equally spaced out and in \\ order. \end{tabular} & 2 marks \\ \hline Variable declaration & \begin{tabular}{l} The necessary variables are correctly \\ declared with valid data types. \end{tabular} & 7 marks \\ \hline \begin{tabular}{l} Input/Output \\ processing \end{tabular} & \begin{tabular}{l} Combo box - At user selection, the app \\ displays the unit price of the selected option. \end{tabular} & 20 marks \\ \cline { 2 - 3 } & \begin{tabular}{l} Quantity text field - The app determines the \\ total price when the user enters the quantity \\ and presses enter. \end{tabular} & 6 marks \\ \hline & \begin{tabular}{l} Calculate button - When the user presses \\ calculate button, the app successfully \\ calculates the VAT amount and final \\ amount. \end{tabular} & 8 marks \\ \cline { 2 - 3 } & \begin{tabular}{l} Reset and Exit buttons - reset clears out all \\ user inputs, and the exit button quits the \\ application. \end{tabular} & 7 marks \\ \hline \multicolumn{2}{|l|}{ TOTAL } & 50 marks \\ \hline \end{tabular} The user selects an option from the combo box, and automatically, the application calculates and displays the unit price in the unit price text field based on the data provided (product price list). Upon entering the quantity in the quantity text field, the application determines and displays the total price in the total price text field. By pressing the calculate button, the application determines the VAT amount, displays it in the VAT Amount text field, and at the same time determines the final amount (total price PLUS VAT amount) and displays it in the final amount text field. The exit button quits the application, and the reset button clears out all user inputs. Spare parts calculator Part Front Brake pads Qty 2 Unit Price R 499 Total Price R 998.0 Vat 14%R 139.72000 Final amount R 1137.72 Exit Reset Calculate
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started