potatoXfries
Eternal Poster
- Joined
- Feb 9, 2018
- Posts
- 687
- Reaction
- 603
- Points
- 434
pa help po sa machine problem na 'to hihi
Pepito Manongsong is a carpenter who wants an application to compute the price of any desk a customer orders,
based on the following: desk length and width in inches, type of wood, and number of drawers. The price is computed
as follows:
• The minimum charge for all desks is $200.
• • If the surface (length * width) is over 750 square inches, add $50.
• If the wood is mahogany, add $150; for oak, add $125. No charge is added for pine.
• • For every drawer in the desk, there is an additional $30 charge
Type of Wood:
[1] – Mahogany (add $150)
[2] – Oak (add $125)
[3] – Pine
Enter choice:
Surface size:
Length:
Width:
Do you want drawer? [Y-Yes, N-No]
Enter no. of drawers:
nasimulan ko na po siya e medyo nalito po sa if and else
Pepito Manongsong is a carpenter who wants an application to compute the price of any desk a customer orders,
based on the following: desk length and width in inches, type of wood, and number of drawers. The price is computed
as follows:
• The minimum charge for all desks is $200.
• • If the surface (length * width) is over 750 square inches, add $50.
• If the wood is mahogany, add $150; for oak, add $125. No charge is added for pine.
• • For every drawer in the desk, there is an additional $30 charge
Type of Wood:
[1] – Mahogany (add $150)
[2] – Oak (add $125)
[3] – Pine
Enter choice:
Surface size:
Length:
Width:
Do you want drawer? [Y-Yes, N-No]
Enter no. of drawers:
nasimulan ko na po siya e medyo nalito po sa if and else
Attachments
-
You do not have permission to view the full content of this post. Log in or register now.