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 restraintthcoming completion (8 points): The program procure ready the user restraint the extension and width of a extent. The program procure proportion and unfold the area of the extent using C#.

    Expert Retort

     

    Pseudocode

    Start the program

    Declare the fickle as, extension, width, area as transport

    Print(“Enter the extension of the extent”)

    Get the input restraint extension

    Print(“Enter the width of the extent”)

    Get the input restraint width

    Proportion area = extension * width

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

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

    Inputs:

    length, width

    Output:

    area

    ———————————————————————————————–
    using System;
    class Program
    {
    static destitute Main()
    {
    transport extension, width, area;
    Console.Write(“n Enter the Extension of the extent: “);
    extension = transport.Parse(Console.ReadLine());

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

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

    OUTPUT

    Enter the Extension of the extent:
    Enter the Width of a Extent:
    The Area of the Extent is = 2000square feet