Q: Write a program to accept length and breadth of a rectangle and then calculate its area and print it?

Write your answer...

Submit

Still have questions?

Continue Learning about Math & Arithmetic

write a c program to accept a number and generate a square root cube and exponential values

Start accept 7 number calculate sum print sum stop

A square and a rectangle are identical in every way except one:The length and width of a square must be equal, whereas the lengthand width of a rectangle may be equal but are not required to be.

program that display the area of a circle of a reduce

Well, you can do your own homework, but here is the general outline of what you must do. Use the variable "x" to express the width of the rectangle. In that case, because of the ratio, the length will be (4/3)x. Write an equation for the area of the rectangle, replace x, (4/3)x and the known area, and solve for "x". (Since a quadratic equation will give you two solutions, you will obviously accept the positive solution.) Once you calculate "x", you can easily calculate the other side of the rectangle, as (4/3)x. Finally, use the Pythagorean Theorem to calculate the diagonal. Another Answer:- 1 Let the dimensions be 3x and 4x 2 So 3x*4x = 369.63 or 12x2 = 369.63 3 Divide each side by 12 and then square root each side 4 Therefore: x = 5.55 and dimensions must be 16.65 by 22.2 5 Using Pythagoras: 16.652+22.22 = 756.9025 and its square root is 27.75 6 Answer: length of diagonal = 27.75 cm

Related questions

dim a input a

write a c program to accept a number and generate a square root cube and exponential values

you cant

Start accept 7 number calculate sum print sum stop

no university in the world

scanf ("%[^\n]s", sentence);

A square and a rectangle are identical in every way except one:The length and width of a square must be equal, whereas the lengthand width of a rectangle may be equal but are not required to be.

Launching is where a new computer program is loaded from disk, copied into memory and then the program goes through its startup routines. A program is launched when it is ready to accept user input.

happy birthday...

Write a program to accept name and store the name in its short form (e.g. Sikkim Manipal University should be stored as SMU)

I am looking for a accredited high school diploma program that are accept at community colleges in the state of Mississippi

Yes, you can. Actually you don`t program the key. Key remains unchanged, you just program the car to accept this particular key.