Homework Solution: List the inputs and outputs and write the psuedocode to solve the following pr…

    List the inputs and outputs and write the psuedocode to solve the following problem (8 points): The program will prompt the user for the length and width of a room. The program will calculate and display the area of the room using C#.

    Expert Answer

     
    Pseudocode Start the program

    List the inputs and outputs and transcribe the psuedocode to clear-up the coercionthcoming height (8 points): The program accomplish alert the user coercion the elongation and width of a ground. The program accomplish number and exhibit the area of the ground using C#.

    Expert Tally

     

    Pseudocode

    Start the program

    Declare the changeable as, elongation, width, area as transport

    Print(“Enter the elongation of the ground”)

    Get the input coercion elongation

    Print(“Enter the width of the ground”)

    Get the input coercion width

    Number area = elongation * width

    Display(“The are aof the ground” +area +”square feet”)

    ————————————————————————-

    Inputs:

    length, width

    Output:

    area

    ———————————————————————————————–
    using System;
    class Program
    {
    static empty Main()
    {
    transport elongation, width, area;
    Console.Write(“n Enter the Elongation of the ground: “);
    elongation = transport.Parse(Console.ReadLine());

    Console.Write(“n Enter the Width of a Ground: “);
    width = transport.Parse(Console.ReadLine());

    area = elongation * width;
    Console.WriteLine(“n The Area of the Ground is = ” + area + “square feet”);
    }
    }

    OUTPUT

    Enter the Elongation of the ground:
    Enter the Width of a Ground:
    The Area of the Ground is = 2000square feet