A space shuttle measured the distance between earth and Mars as a very large integer number of centimeters. Write a C++ program that reads such distance as centimeters and displays the kilometers, meters and centimeters equivalent.
Mohamed_31 0 Newbie Poster
Recommended Answers
Jump to PostWhat do you have so far. We will not do your work for you. Converting centimeters to meters and kilometers is a pretty simple process. I will give you a hint though. Since you are going to be dealing with very large numbers you should do this with strings instead …
All 3 Replies
Mohamed_31 0 Newbie Poster
NathanOliver 429 Veteran Poster Featured Poster
Elixir42 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.