why am i getting a garbage value also i need you to criticize my program

This is a discussion on why am i getting a garbage value also i need you to criticize my program within the C Programming forums, part of the General Programming Boards category; i think i have found a way to do it i should not set (run and i ) to zero....

  1. #16
    Registered User
    Join Date
    Feb 2008
    Posts
    62
    i think i have found a way to do it i should not set (run and i ) to zero.

  2. #17
    Registered User
    Join Date
    Feb 2008
    Posts
    62
    yes he printed zero for the avg. when he compile the program. every value was zero and when he enter a number the avg was working

  3. #18
    Registered User
    Join Date
    Jan 2008
    Posts
    287
    Is there some rule that you aren't allowed to use arrays or structs?

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issue with program that's calling a function and has a loop
    By tigerfansince84 in forum C++ Programming
    Replies: 9
    Last Post: 11-12-2008, 12:38 PM
  2. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 12:41 PM
  3. Replies: 4
    Last Post: 02-21-2008, 09:39 AM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21