You are on page 1of 5

Green University of Bangladesh

Department of Computer Science and Engineering (CSE)


Faculty of Sciences and Engineering
Semester: (Fall, Year: 2021), B.Sc. in CSE (Day)

LAB REPORT NO: 01


Course Title: CSE LAB

Course Code: 104 Section:222, D8

Lab Experiment Name:


• Write a C program to check whether a number is divisible by 5 and 11 or not.
• Write a C program to find maximum between three numbers.
• Write a C program to check whether a year is leap year or not.

Student Details:BSC IN CSE


Name: MD.JABED MOLLAH
ID: 222002167

Lab Date: 2/11/2022


Submission Date: 7/11/2022
Course Teacher’s Name: MS. SOBHANA JAHAN

1st lab (delete this when you are done)


1. TITLE :Write a C program to check whether a number is divisible by 5 and 11
or not.
2. OBJECTIVES :
The below program ask the user to enter the number. After getting the number is
divisible.

3.PR0CEDOR :

1.First we take an integer type function as a main function.

2.Now we take a divisible by 5 and 11 or not.


4INPUT:

3. OUTPUT
5.ANALYSIS AND DISCUSSION:From this program we can easily convert divisible.
We can get value from user .

2nd lab (delete this when you are done)


1. TITLE :Write a C program to find maximum between three numbers.

2.OBJECTIVES :In this program we can take marks of four subjects and
calculate maximum number.

3.PR0CEDUR :1.Frist we take an integer type function as a main function.

2.Now we take a marks of four subjects from keyboard using scanf( ) function.

3.Inter the three number and find the maximum number.

4.INPUT :
2. OUTPUT

3.ANALYSIS AND DISCUSSION:In this program I find out one maximum number.
Firstly I faced some problem such as punctuation cover. And finally easy to submit
this program .I got output this program.

3rd lab (delete this when you are done)


1. TITLE :
Write a C program to check whether a year is leap year or not.

2. OBJECTIVES:
The below program ask the user to enter the integer number. After getting the leap
or not.
3. PR0CEDUR :

1.First we take an integer type function as a main function.

2.Input the number and find the leap year or not.

3.out put show the leap year or not.

4. INPUT

5. OUTPUT

6. ANALYSIS AND DISCUSSION:


From this program we can easily leap year or not.We can get value from user .

You might also like