Decision Making / Selection Statement
,Control Statement
•
•
•
•
•
,CONTROL Statement
•
•
, Sequential Statement
• Executing one instruction after another
• The order in which they occur in the program
#include<stdio.h>
#include<conio.h>
void main()
{
int a;
printf(“Enter a number”);
scanf(“%d”,&a);
printf(“a=%d”,a);
getch();
}
,Control Statement
•
•
•
•
•
,CONTROL Statement
•
•
, Sequential Statement
• Executing one instruction after another
• The order in which they occur in the program
#include<stdio.h>
#include<conio.h>
void main()
{
int a;
printf(“Enter a number”);
scanf(“%d”,&a);
printf(“a=%d”,a);
getch();
}