Skip to content

How to enter input stream #64

@EnziinSystem

Description

@EnziinSystem

Hello,

I don't see anyone mentioning the input stream for the program via Terminal simulator web.

If I have the following block code, how will the input stream enter?

#include <stdio.h>
int main() {
 int a;
 int b;

 scanf("%d", &a);
 printf("You entered for a: %d", a);
 scanf("%d", &b);
 printf("You entered for b: %d", b);
 return 0;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions