+ 12

Can anybody post different codes for same output in different programming languages?

For example; C+D=E deliver output in C++,Java, JavaScript, so on...

17th Jul 2017, 1:26 PM
John Joy Raj
John Joy Raj - avatar
7 Answers
+ 9
cout << | system.out.printin | document.write so.. on..
17th Jul 2017, 3:41 PM
John Joy Raj
John Joy Raj - avatar
+ 2
in c++ you an assign c+d value in e and then print it cout<<E; would be enough
17th Jul 2017, 1:53 PM
dhruv tewari
dhruv tewari - avatar
+ 1
for python 3, print(e) or print(c+d)
20th Jul 2017, 5:32 AM
Debjit Ganguli
Debjit Ganguli - avatar
+ 1
Check this link: https://www.sololearn.com/discuss/548095/?ref=app There's a bunch of codes on various languages that try to do the same.
21st Jul 2017, 4:08 PM
Haris
Haris - avatar
0
In Java: System.out.println(c + d);
17th Jul 2017, 2:50 PM
marit vandijk
0
in pascal write(a)
20th Jul 2017, 3:43 PM
davidthegreat
davidthegreat - avatar
0
mmmm
21st Jul 2017, 7:45 AM
Ratna Rahman
Ratna Rahman - avatar