Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a C# console application for a furniture company. Ask the user to choose P

ID: 3656416 • Letter: W

Question

Write a C# console application for a furniture company. Ask the user to choose P for pine, O for oak, and M for mahogany. Show the price of a table manufactured with the chosen wood. Pine tables cost $100, oak tables cost $225, and mahogany tables cost $310. If the user enters something other than P, O or M, set the price to $0. Save your program as Furniture.cs. ALL THE ANSWERS I GET ARE VERY COMPLEX, HERE IS WHAT I HAVE SO FAR: Helppppppppp! ing System; public class Furniture { public static void Main() { int p = 100; int o = 225; int m = 310; string option; int test; Console.WriteLine("Select wood for the table p=Pine, o=oak, m=mohogany: "); option = Console.ReadLine(); test = Convert.ToInt32(option); Console.WriteLine("with the {0} a {1} a {2}", p, o, m); } }

Explanation / Answer

#include using namespace std; int main() { int a,b,c; double r; char ch,o,m,p; c=0; cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote