Question: This is probably a really basic question but has me stumped so here goes. 

```
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main()
{
    float argument = 8.86;
    printf("%f%\n", argument);
    argument = 7.75;
    printf("%f%\n", argument);
    scanf("%f%\n", &argument);
    printf("%f%\n", argument);
    return 0;
}

```

I just wrote this code to help me figure out whats going on. Basically, the scanf seems to require me to put any number then press enter as expected, but then enter another number and press enter or just press enter (after which it will then print the value put the FIRST time time). Shouldn't the code just immediately print the entered number and finish?

Could anyone explain how or why this is happening, thanks!

Answer: 
First, you have an extra `%` in `printf()` and `scanf()` function;
Second, you should not have `\n` in `scanf()` function; 
if have the `\n`, the console will ignore new line, space and all blank characters when you input.

Maybe like this:

```
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main()
{
    float argument = 8.86;
    printf("%f\n", argument);
    argument = 7.75;
    printf("%f\n", argument);
    scanf("%f", &argument);
    printf("%f\n", argument);
    return 0;
}

```

I am also a beginner in C language. We come together!
\*\*Only change in scan function \*\*

from scan(%d\n)
to