User:Rakesh Agrahari/lesson Plan 1

Subject : Programming with C Class: BICT 1rd Semester
Period: First Unit: One
Topic: Using Function in C Time: 10 min
Teaching Item: Function without Returning Value and no Arguments

SPECIFIC OBJECTIVES

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

  • Write a program in C using function without returning value and no arguments.

TEACHING MATERIALS

  • Daily materials
  • White Board
  • Marker
  • Computer for practical work

TEACHING LEARNING ACTIVITIES

1.    Small introduction to the basic C programming and comparing them with function

2.    The following program will be explained.

#include<stdio.h>

#include<conio.h>

void si(); // declaring a function

void main()

{

si(); // calling a function.

}

void si()

{

int p=1000, t=24, r=5;

int s=(p*t*r)/100;

printf("The simple interest is %d",s);

}

EVALUATION

  • What else we can use instead of int.