0% found this document useful (0 votes)
3 views

INDEX

index page for 1st year record book

Uploaded by

nidhin.cs0607
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

INDEX

index page for 1st year record book

Uploaded by

nidhin.cs0607
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

SI NO DATE TITLE PAGE

NO SIGNATURE
INDEX
1A C Program to take a user's name and age as input and
Name:____________________Branch:__________
display a personalized greeting Sec :___ Reg
No.:_____________
1B C Program to perform basic arithmetic operations.
Logical operations, Bitwise Operations and ternary
operator
1C C Program to input a number and calculate its square
and cube. Display the results.
1D C Program to calculate simple interest using the

𝑆𝐼=(𝑃×𝑅×𝑇)/100
formula:

2A C Program to find whether a number is positive,


negative, or zero.
2B C Program to check whether a given number is even or
odd.
2C C Program to input three integers and find the largest
among them using nested if-else.

2D Student Grade Calculator (if-else ladder):


Accept a student's marks and assign a grade using the
following scale:( Marks >= 90: A,Marks >= 80:
B,Marks >= 70: C,Marks < 70: D

2E Electricity Bill Calculator (switch-case):


Based on the number of units consumed, calculate the
electricity bill as follows(1-100 units: ₹1.5/unit,101-
200 units: ₹2.0/unit,Above 200 units: ₹3.0/unit
Use switch-case for slab selection.

2F Even Numbers Skipping Multiples of 5 C Program to


print all even numbers from 1 to 50, but skip numbers
that are multiples of 5 using the continue statement

3A C Program to calculate the factorial of a number using a


for loop.
3B C Program to reverse a given number.
3C C Program to find the sum of the first n natural
numbers.
3D C Program to print the multiplication table of a given
number.
3E C Program to check if a given number is an Armstrong
number.
4A C Program to find Sum and Average of Elements in a
1D Array.
4B C program to input n integers into a 1D array and find
the maximum and minimum elements.
4C C program to Linear Search for a specific number in a
1D array and return its position (or -1 if not found).
4D C Program to add two matrices of size m×n (2D
arrays).
4E C Program to compute the transpose of a matrix.
5A C Program to check if a given string is a palindrome
(ignoring case).
5B C Program to find the length of a string without using
the strlen() function
5C C Program to concatenate two strings without using the
strcat() function.

You might also like