CS3271 Set3
CS3271 Set3
(Regulations 2021)
1. i) Write a C program for adding five subject marks and print the same.
ii) Write a C program for five subject marks total and average and print the results.
ii) Write a C program to find the biggest among given two integers using conditional
statement.
ii) Write a program that finds equivalent Grade of your obtained score using if -else ladder.
6. i) Wrtie a c Program using if statement for calculating bonus for an employee working in an
Page 1 of 3
organization.
ii) Write a C Program to find a give string is palindrome or not without using string built in
function.
10. i) Write a C Program to swap the two numbers without using third variable or temporary
variable.
ii) Write a Program to find the given number is leap year or not.
14. i.Write a C Program to find given number is zero or not a zero, odd or even using Switch
statement.
ii. Write a C Program to find given number is zero or not a zero, odd or even using if else
statement.
15. Write a C Program to create student mark sheets with course details and grades using the
Page 2 of 3
structure.
16. Write a C Program to create the Employee Structure. Take the employee ID, name, age,
rank and salary as data members and print the details of the five employees.
18. Write a C program for the pointer and pointer to pointer to operations.
19. Write a C program to calculate and display total cost of 4 models of Pentium PC. Use the
single dimensional array for PC codes their price and quantity available.
20. a. Write a C program to generate numbers between 1 and 100 which are divisible by 2
and not divisible by 3 and 5.
Page 3 of 3