Don't know how to do this

Discussion in 'Programmer's Corner' started by Urahara, Mar 7, 2010.

  1. Urahara

    Thread Starter New Member

    Mar 7, 2010
    1
    0
    I am a novice C++ programmer and i want to create a simple program that will show the answer to 1 / x = .3
    I dont want a mathematic answer, I just need a little tip, I've tried several different methods but they give me answers that i know are not right
    Can someone help me a bit?
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Solve the problem on paper. Write out all the steps. Write your code to duplicate all those steps.
     
Loading...