#include <stdio.h>
int main(void) {
int i, amari;
for (i = 100; i >= 1; i--) {
amari = 100 % i;
if (amari == 0) {
printf("100は %d で割り切れる\n",i);
}
}
return 0;
}
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme