0
May you help me to convert this Java code into C++ code please .
2 Réponses
+ 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 ,
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!