Professional Documents
Culture Documents
Decision Making
Decision Making
Decision Making
• If Statement
• If else statement
• If else-if statement
• Nested if statement
• Switch statement
If Statement
• #include<stdio.h>
• int main()
• {
•
• int n=20;
• if(n>10)
• {
• printf("N is greater than 10\n");
• }
• }