Module 1 Operators and Evaluation Of Expresssions
- Write a program that works as a calculator (addition,multiplication,division,subtraction)
- Write a program to find the area of triangle.
- Write a program to calculate simple interest.
- Write a C program to interchange two numbers with and without using third variable.
- Write a program to display the size of every data type using "sizeof" operator.
- Write a C program to enter a distance in to kilometer and convert it in to meter,feet,inches and centimeter.
- Write a program to compute Fahrenheit from centigrade.
- Write a program to illustrate the use of unary prefix and postfix increment and decrement operator.
- Write a C program to find that the accepted number is negative or positive or zero.
- Write a program to read marks of a student from keyboard whether the student is pass or fail.
- A. Write a program to read three numbers from the keyboard and find out the maximum out of these three.(Nested if else) B. Write a C program to check whether the entered character is capital, small letter, digit or any special character.
- Write a program to read marks from the keyboard and your program should display equivalent grade according to following table(if else ladder) Marks Grade 100-80 : Distinction, 79-60 : First Class, 59-40 : Second Class, < 40 : Fail.
- Write a C program to prepare payslips using the following data. Da=10% of basic, Hra=7.50% of basic, Ma= 300, Pf= 12.50% of Basic. Gross = basic + Da + Hra + Ma, Nt = Gross - Pf.
- Write a C program to read no 1 to 7 and print relatively day Sunday to Saturday.
- Write a C program to find out the Maximum and Minimum number from given 10 numbers.
- Write a C program to input an integer number and check if the last digit of the number is even or odd.
- Write a C program to find the factorial of a given number.
- Write a program to reverse a number.
- Write a program to generate first n number of Fibonacci Series.
- Write a program to find out the last sum of the first and last digit of a given number.
- Write a C Program to find the sum and average of different numbers which are accepted by user as many as user wants.
- Write a program to check whether the given number is prime or not.
- Write a program to evaluate the series 1^2 + 2^2 + 3^2 + ... + n^2
- Write a C program to find 1 + 1/2 + 1/3 + 1/4 + ... + 1/n
- Write a program to print patterns.
- Write a program to print patterns.
- Write a C program to read and store the roll no and marks of 20 students using an array.
- Write a program to find out which number is even or odd from list of 10 numbers using array
- Write a program to find the maximum element from a one- Dimensional array.
- Write a Program to Search an element in array.
- Write a Program to perform addition of all elements in Array.
- Write a Program to reverse the array elements in C Programming.
- Write a Program for deletion of an element from the specified location from Array.
- Write a program to find a character from a given string.
- Write a program to replace a character in a given string.
- Write a program to delete a character in a given string.
- Write a program to reverse string.
- Write a program to convert string into upper case.
- Write a program that defines a function to add first n numbers.
- Write a function in the program to return 1 if number is prime otherwise return 0
- Write a function Exchange to interchange the values of two variables, say x and y illustrates the use of this function in a calling function.
- Write a C program to check whether a number is prime, Armstrong or perfect number using functions.
- Write a program to find the factorial of a number using recursion.
- Write a program to calculate sum of first 20 natural numbers using recursive function.
- Write a program to generate Fibonacci series using recursive function.
- Write a program to find sum of digits of the number using Recursive Function.
- Write a function that will scan a character string passed as an argument and convert all lowercase character into their uppercase equivalents.
- Write a program to print the address of a variable using a pointer.
- Write a C program to swap the two values using pointers.
- Write a C program to print the address of a character and the character of string using a pointer.
- Write a program to add two numbers using pointers.
- Write a program to input and print array elements using pointer.
- Write a program to copy one array to another using pointer.
- Write a program to swap two arrays using pointers.
- Write a program to access elements using a pointer.
- Write a program for sorting using a pointer.
- Write a program to read structure elements from the keyboard.
- Design a structure student_record to contain name, branch and total marks obtained. Develop a program to read data for 10 students in a class and print them.
- Write a program to add two distances in feet and inches using Structure.
- Write a program to read and print an Employee‟s Details using Structure.
- Write a program to declare, initialize an UNION.
- Write a program to write a string in file.
- A file named data contains a series of integer numbers. Write a c program to read all numbers from a file and then write all odd numbers into a file named “odd” and write all even numbers into a file named “even”. Display all the contents of these file on screen.
- C Program to count number of lines in a file.
- C Program to print contents of file.
- C Program to copy contents of one file to another file.
- C Program to merge contents of two files into a third file.
Module 9 Graphics Functions
- Write a Program to draw a point, arc, line, and circle.
- Write a Program to draw a rectangles and polygons.
- Write a Program to fill polygons.
- Number Guessing Game ( MINI PROJECT )