13 lines
239 B
C
13 lines
239 B
C
|
|
#include <stdio.h>
|
||
|
|
#include <stdlib.h>
|
||
|
|
#define TAILLE 10
|
||
|
|
|
||
|
|
int main(void) {
|
||
|
|
double forme_nombre,taille_carre=TAILLE^2,tour;
|
||
|
|
for (tour=0;taille_carre>10;tour++){
|
||
|
|
taille_carre/=10;
|
||
|
|
forme_nombre++;
|
||
|
|
}
|
||
|
|
for
|
||
|
|
return EXIT_SUCCESS;
|
||
|
|
}
|