Hello,
Where I run my code, the scanf function is not considered and the user can’t enter any data.
Here is my code :
*]#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include <string.h>
#define max 10
int main (){
int var;
printf(“Entrer une valeur : “);
scanf(”%d”, &var);
printf(“voici la valeur saisie : %d\n”, var);
return (0);
}
And this is the result :
Entrer une valeur : voici la valeur saisie : 0
[Finished in 0.1s]