User:Shridhar Paudel/Lesson Plan 3

Lesson Plan 3

Subject: Programming in C Date: 2080/10/25
Class: BICTE Period: 2nd
Semester: 1st Time: 10 minutes
Topic: Looping in C using for

Specific Objectives:

At the end of this topic the students will be able to:

a)   Understand the syntax of for loop

b)   Use of for loop statement in suitable situation

Teaching Materials:

Whiteboard, Marker, Computer

Teaching Learning Activities:

a)   At first, I will revise the topic which was taught last day within one minute.

b)   Then I will give the concept of for loop statement with syntax:

Syntax:       for(initial value;condition;increment/decrement)

                   {

                   Block of statement;

                   }        

c)    I will solve the following program and make students more clear.

Example: Write program in C that display the numbers from 1 to 20.

                  #include<stdio.h>

                  #include<conio.h>

                  void main()

                  {

                  int c;

                  for(c=1;c<=20;c++)

                  {

                  printf(“%d\n”,c);

                  }

                  getch();

                  }

Evaluation:

If you want to display the numbers from 1 to 10, what changes should be done?