I'm having trouble with this simple java exercise. You are supposed to make java print following lines:
Insert first number:66
Insert second number: 3
66+3 = 69 System.out.println(summa = first + second);
66-3 = 63 System.out.println(summa = first - second);
66*3 = 198 System.out.println(summa = first * second);
66/3 = 22.0 System.out.println(sum = first / second);
66%3: 0 System.out.println(sum = first % second);
the question is how you make it print it like that (66+3 = 69). I've posted the way i have written it.
I have written the rest of the code such as getting the input etc. I only need to know you make it print numbers like that?