Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Oracle APEX 5 Application Development

Authors: Edward Sciore

2nd Edition

1484209893, 9781484209899