Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started