Answer to Question #105113 in Java | JSP | JSF for Lisakhanya Dyosi

Question #105113
Program 1 - Vehicle load capacity
Every vehicle has a maximum value, in kilograms, that can be loaded unto the vehicle.
You must write a small application in JAVA that can assist a builder to determine if the goods he wants to buy weighs less than load capacity of his truck.
Your program must:-
1. Read the load capacity of the vehicle as input
2. Read the name and weight of three items as input
3. Calculate the total weight for the items
4. Display all items and the weight.
5. Display the total weight for all items
6. If the total weight of the items is less than the load capacity of the vehicle, display the
available weight capacity of the truck
7. If the total weight of the items is greater than the load capacity of the vehicle, display the
value that is more than the load capacity of the vehicle.
Remember that all output must be user-friendly.
1
Expert's answer
2020-03-10T07:02:13-0400
Dear Lisakhanya Dyosi, 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 the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS