mecharbsc - HWzone Forums
adplus-dvertising
Skip to content
  • Create an account

mecharbsc

registered user
  • Number of messages

    1
  • joining

  • Recently visited

Recent Visitors

Visitors to your profile are disabled, and you can not see who recently visited your profile.

The ratings of mecharbsc

Zone Newbie

Newbie Zone (1/6)

0

Rating

  1. EDIT: I got along with the first step and got here: Now the question is how can I sum up all these digits after all the numbers were initially absorbed? Thanks! #include void main () {// Variables int mis, i = 1, digit, average; int sum_ahadot, sum_asarot, sum_meot, sum_alafim; printf ("Enter 10 numbers with 4 digits each: \ n"); // Input check while (i <= 3) {scanf ("% d", & mis); if (mis> = 1000 && mis <= 9999) {printf ("% d) the number is:% d \ n", i, mis); i ++; } else {printf ("Wrong number! Enter a number with 4 digits: \ n"); i--; }}
×
  • Create new ...

At the top of the news:

new on the site