Entrance Announcement
MICTE 2080
2080 Magh 07
User:Bishu User:Bishu Thapa/micro teaching 5
Jump to navigation
Jump to search
Subject: C programing
Period: first
Topic: introduction of programing language
Teaching Item: If else statement
Class: BICT 1st semester
Unit: One
Time: 15 min
No. of Students: 10
Objectives
At the end of this lesson, students will be able to
- To define If else statement with Example.
- To Print a basic If else statement in turboo C++
Teaching Materials
- PowerPoint presentation
- Daily materials
- Turboo c++ installed computers
Teaching Learning Activities
- Introduce today's topic with students.
- Revise necessary topics required to learn previous topics.
- I will explain the If else statement.
- I will demonstrate basic if else statement in Turboo c++
- #include<stdio.h>
- int main(){
- int number=0;
- printf("Enter a number:");
- scanf("%d",&number);
- if(number%2==0){
- printf("%d is even number",number);
- }
- return 0;
- }
add example here
Classroom Assessment
- Write a program to check positive number using if else statement .