It22101 Assignment 3

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

FT/GN/61A/00/02.07.

18
Submission Date:
Faculty Department: INT Academic Year:2023-2024
08.01.2024
B.E/B.Tech Specialisation: NA
Student Department: AD/CS/INT/EC/EE Semester: I
Max. Marks: 50
Assignment No. : 3
Sub. Code & Name : IT22101 & Programming for Problem Solving

RBT
Q.No Question / Task / Activity CO* Marks
Level#
Declare a structure to store the following information of an employee
• Employee code
• Employee name
• Salary
1 • Department number 4 AP 10

• Date of joining (it is itself a structure consisting of day, month and year)
Write the program using this structure to find the name of the employees
with minimum and maximum salary using a single function. Hint : use
pointers
Construct a C program using recursive functions to solve the listed
problems
2 4 AP 10
a. find GCD of two numbers
b. Sum of square of first ‘n’ numbers
Develop a C program using pointers for listed problems

3 a. Sum of elements in array 5 AP 15


b. Find maximum element in a given array
Construct a C program to perform bubble sort using functions and pointer
4 5 AP 15
arithmetic.

Total Marks 50

You might also like