UniqueMan
0
Newbie Poster
Recommended Answers
Jump to PostWell we're not going to just write the code for you but I can give you a nudge in the right direction. The formula for converting centimeters to inches is
I = C * .39370078740157477
So, if you enter 47 centimeters then in inches that would be
I = 47 …
Jump to PostI suspect that request may not be worded correctly.
1 foot = 12 inches. 1 inch = 2.54 cm 12 inches = 12 * 2.54 cm = 30.48 cmConversely, 30.48 cm = 1 foot.
Therefore 1 cm = 1 foot/30.48 which means 1 cm = .0328083 feet.
All 6 Replies
PsychoCoder
6
Light Poster
Geekitygeek
commented:
well constructed answer
+3
ecoloney
0
Newbie Poster
UniqueMan
0
Newbie Poster
PsychoCoder
6
Light Poster
UniqueMan
0
Newbie Poster
UniqueMan
0
Newbie Poster
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.