14 lines
197 B
C
14 lines
197 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
int main(void) {
|
||
|
int x;
|
||
|
printf("entrez un nombre entier");
|
||
|
x = scanf("%d",&x);
|
||
|
|
||
|
if (x>0) {
|
||
|
printf("%d\n", x*3);
|
||
|
}
|
||
|
|
||
|
return EXIT_SUCCESS;
|
||
|
}
|