Math, asked by dharaankit308, 23 days ago

Write a Menu driven program (using switch ...case) to find out the area of a circle ( area = P!
radius), a square ( area= side), a triangle ( are = 1/2 x height x base) as per user's choice
Accept the values of radius of a circle, side of a square and base and height of a triangle from user​

Answers

Answered by manojchauhanma2
3

Answer:

Menu-driven Program Example 1

#include <stdio.h>

int input();

void output(float);

int main()

{

float result;

int choice, num;

printf("Press 1 to calculate area of circle\n");

Answered by kaurashpreet52
9

Step-by-step explanation:

Refer to the attachment

hope it will help you

Attachments:
Similar questions