Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #107.55K
~3K People Reached
Favorite Forums
Favorite Tags
c++ x 1

1 Posted Topic

Member Avatar for Gimper

You can try this [CODE]#include<stdio.h> #include<conio.h> main() { clrscr(); float a,b,d; char c; printf("Enter the value of the first operand:"); scanf("%f",&a); printf("Enter the value of the second operand:"); scanf("%f",&b); printf("Enter the operator to be used:(+,-,*,/)"); scanf("%s",&c); { if(c=='+') {d=a+b; printf("The sum of %f and %f is %.2f",a,b,d);} else if(c=='-') {d=a-b; …

Member Avatar for rela
-2
3K

The End.