I'm trying to make a simple program in C, which asks an input above 10 and prints it on the screen.
and it replies me with:Code:#include <cs50.h> #include <stdio.h> int main(void) { int h; do { int h = get_int("mispar\n"); } while (h < 10); printf("%i\n", h); }
declaration shadows a local variable [-Werror,-Wshadow]
int h =get_int("mispar\n");
^
number.c:6:5: note: previous declaration is here
int h;
^
\