anonymous
  • anonymous
Some1 help me in Computer group plz!
Mathematics
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
katieb
  • katieb
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
#include #include int main(void) { int days; int exe; int total; int average; total=0; average=0; while(days<5){ printf("Enter your daily exercises solved no. : "); scanf("%d",&exe); total= total+exe; days=days+1; } average=total/5; printf("The average # of exercises for 3 days is %d",average); getch(); }
anonymous
  • anonymous
what is wrong in this text as my compiler gives error?
anonymous
  • anonymous
what error did you get?

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
there appears direclty the 2nd last sentence that is "The average # of exercises for 3 days is 0"
anonymous
  • anonymous
i got it!! : ) the error is in average=0, it must b days =0
anonymous
  • anonymous
thanks Imran!!

Looking for something else?

Not the answer you are looking for? Search for more explanations.