Write a program that let the user input two number and displays the result as the example below:
輸入兩個數字,做加減乘除的運算
Example input 1:
5 6
Example output 1:
5+6=11 5-6=-1 5*6=30 5/6=0.833333
Example input 2:
1.23 3.45
Example output 2:
1.23+3.45=4.68 1.23-3.45=-2.22 1.23*3.45=4.2435 1.23/3.45=0.356522
Remember: Your output maybe 100% correct, but your code matters!
Hidden content! * ** * ** * * * * int *** { ** ** * * * **** * * ** * * * * * a, b, add, sub, mult, div;** * * *** *** * * * * *** ** * * * * * ** * ** * * * * * * * ** * * * ** ** = a+b;