Skip to content

Update 03.txt#15

Open
LShun wants to merge 1 commit into
fordea:masterfrom
LShun:patch-1
Open

Update 03.txt#15
LShun wants to merge 1 commit into
fordea:masterfrom
LShun:patch-1

Conversation

@LShun
Copy link
Copy Markdown

@LShun LShun commented Sep 2, 2018

Fixed 3.3(b)

For example, try running:
int main(void) { int a, b, c; printf("Enter a-b-c\n"); scanf("%d-%d-%d", &a, &b, &c); printf("%d %d %d\n", a, b, c); rewind(stdin); printf("Enter a-b-c again\n"); scanf("%d -%d -%d", &a, &b, &c); printf("%d %d %d\n", a, b, c); }

and input the following:
1 -2 -3
and
1 -2 -3

Fixed 3.3(b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant