0
Create a program that uses 5 Arithmetic Operators in the given value from the user.
Help me guys
5 odpowiedzi
+ 3
Take two variable and decide type of variable int or float if u want to enter Values from user u can use cin after that you switch case to perform different task if u dont know how to use switch statement u can search on Google.
int a,b,c;
cin>> a>>b;
cout<<" \nenter operator or your choice which u want to perform";
switch (enter case which u want to perform)
{
case 1:
return a+b;
break;
case 2:
return a-b;
.......
.......
........
}
+ 2
Welcome to SoloLearn.
You say "help me", but you don't say how we can help.
Anyway, all you need to learn to do it is here:
https://www.sololearn.com/Course/CPlusPlus
If you have a code you are struggling with: link it and let us see it.
+ 1
Hi Kittzel,
Please sketch a code about it first, share its link in the thread Description, also describe what part of it is particularly uneasy. Without these, people don't know in which part help is needed, and it's hard to suggest anything.
Follow the below guide to share your saved code link 👇
https://www.sololearn.com/post/75089/?ref=app
0
Sorry sorry thank you verry much
0
Thank you very much 😊