Question: Question 2: Write a C program that do the following: Declare a char array of size 20 called customer Name. Prompt (ask) the user to
Question 2: Write a C program that do the following: Declare a char array of size 20 called customer Name. Prompt (ask) the user to enter his name Read the name of the user in the customer Name array. Prompt the user the following message: Please enter the length and width of the land. . Read the width and length into two variables of type float. Compute the area of the land and print the result to the user as follows: The area of the land is RESULT The following are sample input/output: Please enter your name: Safaa Please enter the length and width of the land: 20 10 The area of the land is 200
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
