Search:

Type: Posts; User: c99tutorial

Search: Search took 0.01 seconds.

  1. In that case, N is your input (The number that...

    In that case, N is your input (The number that will be factorized). Whether this is read from the user or not, it doesn't matter. For example, you should be able to think of an example for N and you...
  2. Where are you assigning the values for a and b?...

    Where are you assigning the values for a and b? If you want a and b to be factors of N, then you need to choose a and b such that a * b == N.
  3. Also it helps to turn on higher warnings...

    Also it helps to turn on higher warnings (diagnostics) in your compiler. For example, I notice you are printing a and b, but you never have assigned those a value. Maybe you are forgetting a step in...
Results 1 to 3 of 3