edit: o i see what u mean with the [i].. thanks!
Type: Posts; User: Lina_inverse
edit: o i see what u mean with the [i].. thanks!
it just prints out 0's
12032
thanks for the fgets info. But Im still not too sure how to fix the printing out information.. [i] should be used since im printing solarsys[1], solarsys[2],.. and on. right?
so i have made some changes to the code, the user now can enter all the information in one single line. but when i try to print out the info the user entered, it only displays: 0.00000 for all the...
Thanks for the help, it worked but why did a warning about "gets" come out?
I want my code to be able to ask for user how many planets the user wants to add to the array of planets, it asks the user how many in the beginning and store it as "numberofinputs" then use that to...