1)Write an application that displays the result of dividing two numbers and displays any remainder. The main() method prompts the user for values and sends them to the dividingmethod; the dividing method performs the calculation and displays the results. Save the application as Divide.cs 2)Write an application for a furniture company; the program determines the price of a table. Ask the user to choose one for pine, 2 for oak, or three for mahogany. The output is the name of the wood chosen as well as the price of the table. Pine tables cost $100, oak tables cost $225, and mahogany tables cost $310. If the user enters an invalid wood code, set the price to zero. Save the file as Furniture.cs
The following questions should be in C#
1)Write an application that displays the result of dividing two numbers and displays any remainder.
The main() method prompts the user for values and sends them to the dividingmethod; the dividing method performs the calculation and displays the results.
Save the application as Divide.cs
2)Write an application for a furniture company; the program determines the price of a table.
Ask the user to choose one for pine, 2 for oak, or three for mahogany. The output is the name of the wood chosen as well as the price of the table. Pine tables cost $100, oak tables cost $225, and mahogany tables cost $310. If the user enters an invalid wood code, set the price to zero.
Save the file as Furniture.cs
Step by step
Solved in 2 steps with 4 images