16 lines
282 B
C
16 lines
282 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int main() {
|
|
long int nanoseconde;
|
|
int seconde;
|
|
|
|
printf("Entrez le nombre de nanosecondes : ");
|
|
scanf("%ld", &nanoseconde);
|
|
|
|
seconde = nanoseconde / 1000000000;
|
|
|
|
printf("Le nombre de secondes est : %d \n", seconde);
|
|
|
|
return 0;
|
|
} |