0

May you help me to convert this Java code into C++ code please .

https://code.sololearn.com/ca2817I67xmY/?ref=app

20th Oct 2020, 10:21 PM
Morsal
Morsal - avatar
2 Respuestas
+ 2
Morsal AL-hugafi use Q&A for programming related queries only ,you can learn c++ yourself and implement it ,no other person is going to do it for you ,atleast Q&A is not a right place to ask for such things ,
20th Oct 2020, 11:25 PM
Abhay
Abhay - avatar
0
The C++ code would be mostly the same as its Java sibling. In the Code Playground, copy the body of the main code from the Java version. Create a new C++ program. Paste the code body into the C++ main() body. Replace the Scanner object with a cin statement. Replace System.out.println statements with cout statements. Done!
21st Oct 2020, 3:17 AM
Brian
Brian - avatar