Answer to Question #316237 in C# for KING

Question #316237

Using C# and Visual Studio, design and implement a standalone command-line application that

fulfils the following requirements:

1. The user shall be able to enter the following values:

a. Gross monthly income (before deductions).

b. Estimated monthly tax deducted.

c. Estimated monthly expenditures in each of the following categories:

i. Groceries

ii. Water and lights

iii. Travel costs (including petrol)

iv. Cell phone and telephone

v. Other expenses


1
Expert's answer
2022-03-22T19:07:41-0400
    internal class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Enter your expenses and income");
            Console.Write("Gross monthly income (before deductions): ");
            Console.ReadLine();
            Console.Write("Estimated monthly tax deducted: ");
            Console.ReadLine();
            Console.WriteLine("Estimated monthly expenditures in each of the following categories:");
            Console.Write("Groceries: ");
            Console.ReadLine();
            Console.Write("Water and lights: ");
            Console.ReadLine();
            Console.Write("Travel costs (including petrol): ");
            Console.ReadLine();
            Console.Write("Cell phone and telephone: ");
            Console.ReadLine();
            Console.Write("Other expenses: ");
            Console.ReadLine();
            Console.ReadKey();
        }
    }

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