63 782
Assignments Done
99,2%
Successfully Done
In August 2018

Answer to Question #79370 in Visual Basic for NAZHAT

Question #79370
You have been tasked to create a small application to calculate the air-fare of an individual travelling
from Nadi to Savusavu based on the following requirements:
AIR VITI PRICE-LIST
Seat Price
Adult: $79.50
Child: $59.25
Luggage
1 bag : $25.00
More than 1 bags: $40.00
The user should select either adult or child fare option and enter the number_of_bags they will carry
in a textbox. Upon clicking the calculate button, the total fare should be displayed in a label.
a) Draw and appropriate user interface for this application
b) Code writing:
i. Declare two constants to store adult and child fare.
ii. Declare the appropriate variables and write the lines of code that will read the
number_of _bags from the textbox and convert and store it in an integer variable.
(Hint: use the Val() function)
iii. Use the if ..else structure determine the fare option selected and calculate the total
fare.
iv. Write the code to display the total fare in a label (formatted as a currency)
Expert's answer
Dear NAZHAT , your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions