Answers

2016-05-07T16:11:50+05:30
#include<iostream.h>
void main()
{
float a,b,ch;
cout<<"enter 2 nos.";
cin>>a>>b;
cout<<"1. for addition";
cout<<"2 for subtraction";
cout<<"3 for multiplication";
cout<<"4 for division";
switch(ch)
{
case 1: cout<<a+b;
case 2: cout<<a-b;
case 3: cout<<a*b;
case 4: cout<<a/b;
default:cout<<"no such option";
}
}

0
r u a teacher ?
thank u this programme is working.