#include<stdio.h>
int main()
{
float num1,num2;
int c;
printf("Enter 1st number:\n"); printf("Enter 2nd number:\n"); printf("Choose an option.\n 1.Addition\n 2.Subtraction\n 3.Multiplication\n 4.Division\n"); if(c==1)
{
printf("Addition=%.2f\n", num1
+num2
); }
else if(c==2)
{
}
else if(c==3)
{
printf("Multiplication=%.2f\n", num1
*num2
); }
else if(c==4)
{
printf("Division=%.2f\n", num1
/num2
); }
else
{
}
}
I2luY2x1ZGU8c3RkaW8uaD4KaW50IG1haW4oKQp7CgoKZmxvYXQgbnVtMSxudW0yOwppbnQgYzsKcHJpbnRmKCJFbnRlciAxc3QgbnVtYmVyOlxuIik7CnNjYW5mKCIlZiIsICZudW0xKTsKcHJpbnRmKCJFbnRlciAybmQgbnVtYmVyOlxuIik7CnNjYW5mKCIlZiIsICZudW0yKTsKcHJpbnRmKCJDaG9vc2UgYW4gb3B0aW9uLlxuIDEuQWRkaXRpb25cbiAyLlN1YnRyYWN0aW9uXG4gMy5NdWx0aXBsaWNhdGlvblxuIDQuRGl2aXNpb25cbiIpOwpzY2FuZigiJWQiLCAmYyk7CmlmKGM9PTEpCnsKICAgIHByaW50ZigiQWRkaXRpb249JS4yZlxuIiwgbnVtMStudW0yKTsKfQplbHNlIGlmKGM9PTIpCnsKICAgIHByaW50ZigiU3VidHJhY3Rpb249JS4yZlxuIiwgZmFicyhudW0xLW51bTIpKTsKCn0KZWxzZSBpZihjPT0zKQp7CiAgICBwcmludGYoIk11bHRpcGxpY2F0aW9uPSUuMmZcbiIsIG51bTEqbnVtMik7Cn0KZWxzZSBpZihjPT00KQp7CiAgICBwcmludGYoIkRpdmlzaW9uPSUuMmZcbiIsIG51bTEvbnVtMik7Cn0KZWxzZQp7CiAgICBwcmludGYoIk9wdGlvbiBJbnZhbGlkIik7Cn0KfQo=