October 7th, 2012, 04:00 PM
#1
c++ Conversion Program Help for Newbie.
I need help in creating a conversion program to convert kilograms to pounds. The user will enter a number for weight and a char for unit of measurement K= kilo or P=pound and the program should display the other corresponding weight.
October 9th, 2012, 01:15 AM
#2
Re: c++ Conversion Program Help for Newbie.
1 lb = 0.453 592 370 kg(exakt, per definitionem) (according to Wiki)
1 kg ≈ 2.204 622 622 lb
What do you have written so far and where are you having problems?
Last edited by Richard.J; October 9th, 2012 at 01:17 AM .
Reason: precised weights
October 9th, 2012, 12:46 PM
#3
Re: c++ Conversion Program Help for Newbie.
Sounds like you just don't want to do your homework. I could write that program in 5 lines of code.
Give us what you've written so far and we'll gladly explain what you are doing wrong, but we won't start you from nothing.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width
Bookmarks