New course! Every coder should learn Generative AI!
Try a free lesson+ 1
How to convert meter in centimeter in c++?
3 Answers
+ 2
Same way you do it by hand.
Use mathematics and multiply by 100
0
what is the code, if you don't mind? thanks!
0
int meters = 200;
int centimeters = meters * 100;