0

Sum two numbers without using any variable

22nd Feb 2017, 4:55 PM
meherDev
meherDev - avatar
5 Answers
+ 13
cout << "As simple as " << 1 + 1 << endl;
22nd Feb 2017, 4:57 PM
Hatsy Rei
Hatsy Rei - avatar
+ 7
Java: System.out.print(1+1); Javascript: document.write(1+1); C++: cout << 1+1;
22nd Feb 2017, 5:03 PM
Tashi N
Tashi N - avatar
+ 3
+Tashi N thanks
22nd Feb 2017, 5:08 PM
meherDev
meherDev - avatar
+ 2
good bro
22nd Feb 2017, 4:58 PM
meherDev
meherDev - avatar
0
class Test { public static void main(String[ ] args) { System.out.println("Sum is ="+(20+30)); } } output :- Sum is =50
21st May 2017, 7:09 PM
meherDev
meherDev - avatar