Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

plz help me in programming C 1. Write a C program to read the values of width and height of a rectangle and determine the

plz help me in programming C

image text in transcribed

1. Write a C program to read the values of width and height of a rectangle and determine the area of this rectangle. Follow below input/output format: Enter width = w Enter height = h Area of this rectangle = a 2. Write a C program to read the values of base and vertical height of a triangle and determine the area of this triangle. Follow below input/output format: Enter base = w.w Enter vertical height = h.h Area of triangle with w.ww base and h.hh vertical height is a.aa -BS-Jan 2021 CSEB2113 Programming 1/CSN8144 Programming 1 with 3. Write a C program to read a number between 1 to 10 and generate a list of six numbers with multiply of 5 values by applying compound assignment operator. Sample input/output of the program is as follows: Enter a number (1-10): 3 15 75 375 1875 9375 4. Write a C program, by applying a constant of a value, to read a diameter of a circle and calculate the perimeter of a semicircle. Follow below input/output format: Enter diameter: d Circumference of circle = c Perimeter of semi-circle - p (Hint: circumference of circle = nd)

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

More Books

Students also viewed these Databases questions

Question

LO1 Identify four sources of market failure.

Answered: 1 week ago