C Programming Lab Sheet-1
Write a C program to display "Hello World".
Write a C program to find the sum of two numbers.
Write a C program to calculate simple interest.
Write a C program to find the area and perimeter of a rectangle by asking length and breadth from the user.
Write a C program to find the area and circumference of a circle.
Write a C program to find the remainder of two numbers.
Write a C program to convert centigrade to Fahrenheit where f=1.8c+32.
Write a C program to calculate cube of a given number.
Write a C program to get time in seconds and convert it to hour, minute and second.
Write a C program to get days and convert it to years, months and days.
Write a C program to check whether the given number is divisible by 7 or not.
Write a C program to check whether the given number is even or odd.
Write a C program to input marks of computer science and check whether the student is pass or fail where the pass mark is 40.
Write a C program to ask two numbers and display the smaller one.
Write a C program to ask three numbers and display the greatest among them.
Write a C program to find the greatest number among four numbers.
Write a C program to input a number and check whether the number is positive, negative or zero.
Write a C program to find the middle number among three different numbers.
Write a C program that inputs cost price and selling price and determine whether there is profit or loss.
Write C program to find the commission amount in the basis of sales amount as per the following conditions:
Sales Amount Commission
0-1000 5%
1001-2000 10%
>2000 12%
End of C Programming Lab Sheet-1
C Programming Lab Sheet-2
C Programming Lab Sheet -2C program to display 5,10,15,.....50
C program to display 5,10,15,..... up to 50th terms
C program to display 1,2,4,8,16,..... up to 10th terms
C program to display 1,2,4,7,11,..... up to 10th terms
C program to display 2,8,18,32,..... up to 10th terms
C program to display 999,728,511,..... up to 10th terms
C program to display 100,98,94,88,80,..... up to 10th terms
C program to display 7,22,11,34,17,..... up to 10th terms(Hailstone Series)
C program to display 0,1,1,2,3,5,8,13,..... up to 50th terms (Fibonacci Series)
C program to display the series with their sum 1,2,3,4,..... up to 10th terms
C program to display all even numbers from 2 to 20 and find their sum.
C program to find the factorial of the given number.
C program to check whether the supplied number is prime or composite.
C program to display all prime numbers from 1 to 100.
C program to check whether the given number is Armstrong or not.
C program to display factors of a supplied number.
C program that asks a multi-digit number and calculates the sum of its individual digits.
C program to display the reverse of a supplied number.
C program to test whether the supplied number is Palindrome number or not.
C program to display:
1
22
333
4444
55555
End of C Programming Lab Sheet -2