Home > Back-end >  Strives for the bosses
Strives for the bosses

Time:09-25

Calculation between 1-100 can not be divided exactly by n integers, all the
1. Can not be divided exactly by n integers
2. How many integers can be divided exactly by n
Use for statement

CodePudding user response:

Require very accurate, try writing about herself

CodePudding user response:

reference 1st floor bug10086 response:
require very accurate, try to write herself

The second not,,,

CodePudding user response:

refer to the second floor zzl9617 response:
Quote: refer to 1st floor bug10086 response:
require very accurate, try to write herself

Second won't,,,

The second had added a statistical variable

CodePudding user response:

reference 3 building self-confidence boy reply:
Quote: refer to the second floor zzl9617 response:

Quote: refer to 1st floor bug10086 response:
require very accurate, try to write herself

Second won't,,,

The second had added a statistical variable

The handsome boy I will I wouldn't be here for operation

CodePudding user response:

Changed, but the conclusion is can't again in front of the right

CodePudding user response:

# include
Int main ()
{
Int I, n, s=0;
The scanf (" % d ", & amp; n);
for(i=1; i<=100; I++)
{
If (I % n!=0)
S++;
Printf (" can't be divided exactly by n % d \ n ", I);
}
Printf (" a total of % d cannot be divided exactly by n, s);
} just don't know where have problem

CodePudding user response:

Looking at very normal ah, what's the problem?
  • Related