relational operators in c language (by: shujaat abbas)

7
Relational Operators In C C Language email: [email protected] FB/ [email protected]

Upload: shujaat-abbas

Post on 14-Feb-2017

192 views

Category:

Software


1 download

TRANSCRIPT

Relational Operators In

CC Language

email: [email protected]/[email protected]

Relational OperatorsRelational operators compare two values.There are 6 relational operators

Relational Operators

Relational Operators

Relational Operators

Output

Input and 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

7