statements in c

1
INPUT & OUTPUT Input scanf(“%d”,&a); Gets an integer value from the user and stores it under the name “a” Output printf(“%d”,a) Prints the value present in variable a on the screen

Upload: prabhu-govind

Post on 13-Dec-2014

39 views

Category:

Education


3 download

DESCRIPTION

Statements in C For S-Teacher

TRANSCRIPT

Page 1: Statements in C

INPUT & OUTPUTInput

scanf(“%d”,&a);Gets an integer value from the user and

stores it under the name “a”Output

printf(“%d”,a)Prints the value present in variable a on the

screen