how to make an program in c++ for arithematic calculator by using if else .
65 Views|Posted 2012-11-05 21:06:20
Asked by As
The question is closed for answering
3 Answers

Answered by
2012-11-05 21:36:13
#include
#include
void main (void)
{
char ch;
float num1,num2;
clrscr();
printf("What do you want to do?\n");
printf("Addition, Subtraction, Multiplication or Division:");
ch=getche();
printf("\nEnter first number:");
scanf("%f",&num1);
printf("\nEnter second number:");
scanf("%f",&num2);

Answered by
2012-11-06 10:11:20
Hi,
Shiksha is an education portal and provides guidance regarding education and career sector only. If you have any concern then you may post any query regarding that.
Wish you Luck!

Answered by
2012-11-05 21:08:10
Please discuss with your friends regarding the same.
Taking an Exam? Selecting a College?
Get authentic answers from experts, students and alumni that you won't find anywhere else.
On Shiksha, get access to
66K
Colleges
|
1.2K
Exams
|
6.9L
Reviews
|
1.8M
Answers
Didn't find the answer you were looking for?
Search from Shiksha's 1 lakh+ Topics
or
Ask Current Students, Alumni & our Experts
Have a question related to your career & education?
or
See what others like you are asking & answering