0

Create a program that uses 5 Arithmetic Operators in the given value from the user.

Help me guys

20th Sep 2020, 3:52 AM
Kittzel Yamada04
Kittzel Yamada04 - avatar
5 Answers
+ 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; ....... ....... ........ }
20th Sep 2020, 5:07 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 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.
20th Sep 2020, 4:03 AM
Kevin ★
+ 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
20th Sep 2020, 4:07 AM
Ipang
0
Sorry sorry thank you verry much
20th Sep 2020, 4:05 AM
Kittzel Yamada04
Kittzel Yamada04 - avatar
0
Thank you very much 😊
20th Sep 2020, 5:17 AM
Kittzel Yamada04
Kittzel Yamada04 - avatar