*A reop for random code C and PPS stuff!
- Write a program that accepts the marks of 5 subjects and finds the sum and percentage of marks obtained by the student.
- Write a program that calculates the Simple Interest and Compound Interest. The Principal Amount, Rate of Interest, and Time are entered through the keyboard.
- Write a program to calculate the area and circumference of a circle.
- Write a program that accepts the temperature in Centigrade and converts it into Fahrenheit using the formula C / 5 = (F – 32)/9.
- Write a program that swaps the values of two variables using a third variable.
- Write a program that checks whether the two numbers entered by the user are equal or not.
- Write a program to find the greatest of three numbers.
- Write a program that finds whether a given number is even or odd.
- Write a program that tells whether a given year is a leap year or not.
- Write a program that accepts marks of five subjects and finds percentage and prints grades according to the following criteria: 90-100%—————————Print ‘A’ 80-90%—————————–Print ‘B’ 60-80%—————————–Print ‘C’ Below 60%————————Print ‘D’.
- Write a program that takes two operands and one operator from the user and performs the operation and prints the result by using the Switch statement.
- Write a program to print the sum of all numbers up to a given number.
- Write a program to find the factorial of a given number.
- Write a program to print the sum of even and odd numbers from 1 to N numbers.
- Write a program to print the Fibonacci series.
- Write a program to check whether the entered number is prime or not.
- Write a program to find the sum of digits of the entered number.
- Write a program to find the reverse of a number.
- Write a program to print Armstrong numbers from 1 to 1000.
- Write a program to convert the binary number into a decimal number and vice versa.
- Write a program that simply takes elements of the array from the user and finds the sum of these elements.
- Write a program that inputs two arrays and saves the sum of corresponding elements of these arrays in a third array and prints them.
- Write a program to find the minimum and maximum elements of the array using pointer.
- Write a program to search an element in an array using Linear Search.
- Write a program to sort the elements of the array in ascending order using the Bubble Sort technique.
- Write a program to sort the elements of the array in ascending order using the insertion sort and selection sort with function.
- Write a program to search an element in an array using Binary Search
- Write a program to add and multiply two matrices.
- Write a program that finds the sum of diagonal elements of a m x n matrix.
- Write a program to print the Fibonacci series and find the factorial of a number using recursion.
- Write a program to swap two elements using the concept of pointers.
- Define a structure data type name STUDENT. The type contains student id: string type, student name: type string, student age:type integer, total marks: float type. Display all the record of the student.
- Define a structure data type name STUDENTS. The type contains student id: string type, student name: type string, student age:type integer, total marks: float type. Display all the record of the n students using array of structure.
- Create structure data type name ADDRESS;- The type contains city: string type, pincode: type integer. Create structure data type name EMPLOYEE;- The type contains name: string type. Display all the information of the Employee using concept of nested structure.
- Write a program to implement strlen ( ), strcat ( ), strcpy ( ) without using the string library Functions.
- Write a program to reverse the string.
- Write a program to compare the contents of two files and determine whether they are the same or not.
- Write a program to check whether a given word exists in a file or not. If yes then find the number of times it occurs.
- Write a program to print the given pattern *\ A 5 4 3 2 1 **\ B A 4 3 2 1 ***\ C B A 3 2 1 ****\ D C B A 2 1 *****\ E D C B A 1
40.Write a program to print the given pattern * *** ***** *** *