-
Write a C program to display the word "welcome".
-
Write a C program to take a variable int and input the value from the user and display it.
-
Write a C program to add 2 numbers entered by the user and display the result.
-
Write a C program to calculate the area and perimeter of a circle.
-
Write a C program to find maximum between two numbers.
-
Write a C program to check whether a number is divisible by 5 and 11 or not.
-
Write a C program to input angles of a triangle and check whether triangle is valid or not.
-
Write a C program to check whether a year is leap year or not.
-
Write a C program to input basic salary of an employee and calculate its Gross salary according to following:
Basic Salary <= 10000 : HRA = 20%, DA = 80%
Basic Salary <= 20000 : HRA = 25%, DA = 90%
Basic Salary > 20000 : HRA = 30%, DA = 95%,
-
Write a C program to print “welcome” 10 times.
-
Write a C program to print first n natural numbers using while loop.
-
Write a C program to print all the odd numbers in a given range.
-
Write a C program to add first n numbers using while loop.
-
Write a C program to print all numbers divisible by 3 or 5 in a given range.
-
Write a C program to add even numbers in a given range.
-
Write a C program to find the factorial of a given number.
-
Write a C program to find whether a number is prime or not.
-
Write a C program to print the reverse of a number.
-
Write a C program to add the digits of a number.
-
Write a C program to print the fibonacci series in a given range.
-
Write a C program to check whether a number is an Armstrong number or not.
-
Write a C program to find GCD and LCM of two numbers.
- Write a C program to print a triangle pattern.
- Write a C program to print the reverse triangle pattern.
- Write a C program to calulate sum of two matrix.
- Write a C program to calculate product of two matrix.
- Write a C program to reverse the elements of an array.
- Write a C program to declare a struct array of 10 employees.
- Write a C program to enter and display employee details using struct pointers.
- Write a C program to compare te size of Union and Structure.
- Write a C program to reverse a string.
- Write a C program to perform Stack operations.