CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Methods

Threaded View

  1. #1
    Join Date
    Oct 2011
    Posts
    3

    Arrow Methods

    I am learning methods in school and with this program I enter the starting distance type "feet"
    it asks me for a double value for it and I entered 12 and I wanted to convert it to yards. It should then let me convert it to imperial or metric units but the out put says 0.0 feet = 0.0 yards.
    I debugged the program and my double ft had the value 12 until the method went to its return statement. Does anybody know how to fix this? My code is not that great but it is in the link below. Help is appreciated.
    Attached Files Attached Files

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured