ahdad / Publications
Forum
OnInit() loops Indefinitely
I have written a simple code to calculate the average of the past ten days, weeks, and months and placed it in OnInit(), however, when run, it loops indefinitely. Can someone please tell me what I did wrong... Here's the code: int OnInit() { double Avg=0.0; printf("I'm going to find the