Can anyone tell me how to do a simple calculator with 2 cases in the same time please | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone tell me how to do a simple calculator with 2 cases in the same time please

https://code.sololearn.com/ca52A25A184A This is my code It also requiers the output to be 33 in the same time. First output is 11 and second is 22 Write a program to take two integers as input and output their sum. Sample Input: 2 8 Sample Output: 10

12th Jan 2021, 10:20 PM
Flavio Mezuri
Flavio Mezuri - avatar
2 Answers
+ 1
What are you trying to do? You can't use the same variable names because it just changes the previous value.
12th Jan 2021, 10:34 PM
Slick
Slick - avatar
0
It didnt work but thanks
12th Jan 2021, 10:24 PM
Flavio Mezuri
Flavio Mezuri - avatar