Cursor problem?

Ok this is a sample code right here:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include<stdio.h>
int main()

{
int num;
char letter;

printf("Welcome to ICT 110 bank\n\n");
printf("Please choose a desired transation\n\n");

printf("Balance Inquiry: PRESS 1\n");
printf("Withdraw Cash: PRESS 2\n");
printf("Deposit Cash: PRESS 3\n");
scanf("%d", &num);

if (num == 1)
{
printf("Do you wish to continue? Y/N?\n");
scanf("%c", &letter);
}

printf("Your account balance is $789,934,349.00", letter);







return 0;
}


So in the second scanf there's no blinking cursor. Why is that?
Topic archived. No new replies allowed.