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