C++ File I/O Tutorial - Cprogramming.com
Type: Posts; User: Shakti
C++ File I/O Tutorial - Cprogramming.com
Write everything to a file and you should get all the output.
For which value k does it output 75,62?
Or what do you mean by 75,62??
You have an error when computing the y factor. When you find an i that x is evenly dividable by you add this to y, but this is wrong. You need to multiply y with i and set your new y to this.
Also...