Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions


void main()
float a,b,ch;
cout<<"enter 2 nos.";
cout<<"1. for addition";
cout<<"2 for subtraction";
cout<<"3 for multiplication";
cout<<"4 for division";
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 0 0
r u a teacher ?
thank u this programme is working.
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts