C languageProgramming

26-Write a C program to perform the action according to user choice.

Program: 26

Write a C program to perform the action according to user choice.

Output:

 Press 1 for circle area
 Press 2 for rectangle area
 Press 3 for square area
3
You choose to find the area of square...
Enter the length of square's one side: 4
The area of square is 16.000000

Lokesh Kumar

Being EASTER SCIENCE's founder, Lokesh Kumar wants to share his knowledge and ideas. His motive is "We assist you to choose the best", He believes in different thinking.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.