Unsorted List


 

  1. A program to find the greatest number out of the 2 numbers inputted by the user.

 

  1. A program to find the smallest number out of the 2 numbers inputted by the user.

 

  1. A program to find the greatest number out of the 2 numbers inputted by the user, using conditional operators.

 

  1. A program to find the smallest number out of the 2 numbers inputted by the user, using conditional operators.

 

  1. A program to find the greatest number out of the 3 numbers inputted by the user.

 

  1. A program to find the smallest number out of the 3 numbers inputted by the user.

 

  1. A program to find the greatest number out of the 3 numbers inputted by the user, using conditional operators.

 

  1. A program to find the smallest number out of the 3 numbers inputted by the user, using conditional operators.

 

  1. A program to display the first 10 odd numbers (For Loop).

 

  1. A program to display all even numbers in the range of 100 to 200 (For Loop).

 

  1. A program to display the following series ( i.e. Fibnocci Series ) :
                        0
                        1 1
                        2 3 5
                        8 13 21 34
                        55................n
    where n is the limit of the series entered by the user
    (For Loop)
    .

 

  1. A program to display the first 10 odd numbers (While Loop).

 

  1. A program to display all even numbers in the range of 100 to 200 (While Loop).

 

  1. A program to display the following series ( i.e. Fibnocci Series ) :
                        0
                        1 1
                        2 3 5
                        8 13 21 34
                        55................n
    where n is the limit of the series entered by the user
    (While Loop)
    .

 

  1. A program to input a number and check whether it is a palindrome or not (While Loop).

 

  1. A program to display the first 10 odd numbers (Do-While Loop).

 

  1. A program to display all even numbers in the range of 100 to 200 (Do-While Loop).

 

  1. A program to display the table of any number inputted by the user (Do-While Loop).

 

  1. A program to display the reverse of a number entered by the user (Do-While Loop).

 

  1. A program to get 2 numbers inputted and do the operation according to choice of the user (Switch-case Loop).

 

  1. A program to display the value of 'a' 10 times.

 

  1. A program to calculate and display the sum of 2 numbers entered by the user.

 

  1. A program to find the product of all multiples of 3 between 10 & 50.

 

  1. A program to display the sum of the next 10 multiples of a number entered by the user.

 

  1. A program to find whether the number entered by the user is even or odd.

 

  1. A program to find if the number entered by the user is prime or composite.

 

  1. A program to get 2 values inputted by the user in variables a and b, then swap these values (i.e. the values of variables a & b should interchange) without using a third variable.  

 

  1. A program to display the following series:


    *
    * *
    * * *
    * * * *

 

 

  1. A program to display the following series:


    *
    * *
    * * *
    * * * *
    * * *
    * *
    *

 

 

  1. A program to display the following series:


    * * * * * . . . . . *
    * * * * * . . . . . *
    * * * * . . . . . *
    * * * . . . . . *
    * * . . . . . *
    * . . . . . *

          where the number of stars in the first row is entered by the user.

 

 

  1. A program to display the following series:


    *
    * * *
    * * * * *
    * * * * * * *
    * * * * *
    * * *
    *

 

 

  1. A program to display the following series:


    * *
    * * * *
    * * * * *
    * * * *
    * *

 

 

  1. A program to display the following series:


    *
    * * *
    * * * * *
    * * *
    *

 

 

  1. A program to display the following series:


    1 2 3 4
    1 2 3
    1 2
    1
    4
    4 3
    4 3 2
    4 3 2 1

 

 

  1. A program to display the following series:

                                11,  22,  33,  44
    without including the header file <math.h>.

 

 

  1. A program to display the following series:

                                11,  22,  33,  44,  ......,  nn 
    where n is a number inputted by the user, do not include the header file math.h.

 

 

  1. A program to display the following series (i.e. Fibnocci series):

        0, 1, 1, 2, 3, 5, 8, 13, 21, ......., n
        where n is the limit of the series entered by the user.

 

  1. A program to display the following series:

    1, 1/2, 1/3, 1/4, ........., 1/n

    where n is a number inputted by the user.

     

 

  1. A program to display the following series:

       1, 2/2!, 3/3!, 4/4!, ........., n/n!

    where n is a number inputted by the user.

     

 

  1. A program to display the following series:

    1, 2!/22, 3!/33, 4!/44, ........., n!/nn

    where n is a number inputted by the user.

     

 

  1. A program to display the following series:

        3/1, 8/4, 17/9, 34/18, 67/35, ......, x/y

        where the user inputs either x or y.

 

  1. A program to find the sum of 2 numbers entered by the user. 

 

  1. A program to enter marks of 3 subjects of a student and calculate the total marks, average & the grade obtained by him, using a function 'display'.

 

  1. A program to add, multiply, divide or subtract two numbers entered by the user. (Shows methods of passing parameters) 

 

  1. A program to find the sum of first n natural numbers using recursion, where n is entered by the user.

 

  1. A program to find the factorial of a number using recursion.

 

  1. A program to implement function overloading for calculating the area of four different figures which are given below:
    a) Area of Circle
    b) Area of Rectangle
    c) Area of Square
    d) Area of Triangle

 

  1. A Program to initialize a 1-D array and display the sum of the it's elements. 

 

  1. A program to initialize a 1-D array and find it's maximum value.

 

  1. A program to initialize a 1-D array and count it's even elements

 

  1. A program to initialize a 1-D array and count the elements which are a multiple of 3.

 

  1. A program to initialize a 1-D array with the next 5 multiples of a number entered by the user.

 

  1. A program to initialize a 1-D array and count it's prime elements.

 

  1. A program to initialize a 1-D array and store the values in the reverse order. 

 

  1. A program to initialize a 1-D array and search for a given element in an array using Binary Search method. (assuming array is sorted in ascending order)

 

  1. A program to initialize a 1-D array and sort it in ascending order using Bubble Sort method

 

  1. A program to initialize a 1-D array and sort it in ascending order using Selection Sort method.

 

  1. A program to initialize a 1-D array and sort it in ascending order using Insertion Sort method.

 

  1. A program to to implement Merge Sort.
    Initialize two 1-D arrays of 10 and 5 elements, sort them in ascending order, and then merge them into a final array of 15 elements such that the final array also appears in sorted order
    .
     

 

  1. A program to to implement Merge Sort.
    Initialize two 1-D arrays of 10 and 5 elements, sort them in ascending order and descending order respectively, and then merge them into a final array of 15 elements such that the final array appears in ascending order
    .

 

  1. A program to initialize and display a 2-D array

 

  1. A program to initialize a 2-D array of size 1*10 (i.e. a single column). Store numbers 1 to 10 in the column and display it.

 

  1. A program to initialize a 2-D array and display the location of each of it's element.

 

  1. A program to initialize a 2-D array and display it's left half. 

 

  1. A program to initialize a 2-D array and display it's right half. 

 

  1. A program to initialize a 2-D array and display it's reverse. 

 

  1. A program to initialize a 2-D array of 3*4 and display the output as follows:
                 Col1    Col2    Col3    Col4    Sum
    Row1        1        7        2         9         19
    Row2       2        6        4        12        24
    Row3       5        3        8         3         19

 

  1. A program to initialize a 2-D array and display the the sum of each of it's row

 

  1. A program to initialize a 2-D array and display the sum of it's diagonal.

 

  1. A program to initialize a 2-D array, count the even elements and calculate their sum.

 

  1. A program to declare a two dimensional array of size 4 x 4, initialized in column major order, which does the desired operation according to the choice of the user. The various operations are:
                  a) Displays the sum of both the diagonals.
                  b) Displays the sum of all even elements.
                  c) Displays the sum of all odd elements.

 

  1. A program to declare a global array of 10 elements, which does the following operations according to the choice of the user:
    a) Inserts an element at the beginning of the array.
    b) Inserts an element at the end of the array.
    c) Inserts an element at the desired position in the array.
    The program has three different functions begin(), end() and pos() for doing the various functions and the array elements are entered in the main program.
    NOTE: The program continues till the user wants.

 

  1. A program to declare an array of 10 elements, which does the following operations according to the user:
    a) Deletes an element at the beginning of array.
    b) Deletes an element at the end of array.
    c) Deletes an element at the desired position in the array.
    The program has three different functions begin(), end() and pos() for doing the various functions.
    The array is entered in the main program and is passed as call by reference parameter for doing the various operations.
    Note: The program continues till the user wants.
    Assumption: The deleted element is represented by 0, which is placed at the end of the array and the value of no element in the array is element is originally 0
    .

 

  1. A program to declare a structure Library with the following data members:

    a)

    book_no

    integer

    b)

    name

    character array

    c)

    author

    character array

    d)

    address_publisher

    variable of structure address having three data members

    street

    character array

    city

    character array

    state

    character array

    pincode

    long integer

 

  1. A program to declare a structure employee with the following data members:
    a) emp_no                     integer
    b) name character          array
    c) basic_salary             float
    Your program should accept the data of 10 employees and then print the data of those employees only whose net salary is above Rs.10000/-. Where net salary is calculated as:
    basic_salary + incentive - deductions
    incentive is 50% of the basic salary
    deductions are 10% of basic salary + Rs. 200/- extra for each employee

 

  1. A program to declare a structure student with the following data members:
    a) adm_no                     integer
    b) name character          array
    c) marks                       array of five float values
    Your program should accept the data of 10 students and then print the data of all the students including total marks, average marks and result, where result is calculated as follows:
    If average marks is above 40% result is pass otherwise result is fail.

 

  1. A program showing the implementation of a simple class. 

 

  1. A program to get two dates entered by the user, using a class date, with the following member functions:
    1. getdata()- intakes date entered by the user
    2. display()- displays date
    3. addit()- adds the 2 date entered by the user

 

  1. Write a program for inputting the marks of a student in 5 subjects and calculate his average. The number of students whose marks have to be inputted should be entered by the user. Use a class student, an array, a constructor, a destructor and function overloading in your program.
     

 

  1. Imagine a ticket selling booth at a fair. People passing by are requesting to purchase a ticket. A ticket is priced as Rs.2.50/-. The booth keeps track of the number of people that have visited the booth, and the total amount of money collected.
    Model this ticket selling booth with a class called ticbooth including the following members:
         Data Members:
           Number of people visited
           Total amount of money collected
         Member functions:
           To assign initial value. (constructor)
           To increment only people total in case ticket is not sold out.
           To display the two totals.
           To display the amount of money collected.

 

  1. A program to Create a Link List. 

 

  1. A program to Insert a node in a Link List.

 

  1. A program to Delete a node in a Link List.

 

  1. A program to split a Link List.

 

  1. A program to reverse a Link List.

 

  1. A menu driven program to implement a link list where every node of the link list consists of the following information:
    1. Name of the book
    2. Price of the book
    3. Number of copies
    The program has the following options:
    1. Add a node at the beginning of list.
    2. Display the link list.
    3. Display the information of only those books which have number of copies greater than 5 and price greater than Rs.150/-
    .

 

  1. A program to implement Stacks in arrays. The program has four options as given bellow and it continues till the user wants
    a) Push
    b) Pop
    c) Display
    d) Exit

     

 

  1. A program to implement Linked Stacks. The program has four options as given bellow and it continues till the user wants
    a) Push
    b) Pop
    c) Display
    d) Exit

 

  1. A program to implement Queues in arrays. The program has four options as given below and it continues till the user wants
    a) Insert
    b) Delete
    c) Display
    d) Exit

 

  1. A program to implement Linear Linked queues. The program has four options as given below and it continues till the user wants
    a) Insert
    b) Delete
    c) Display
    d) Exit

 

  1. A program to implement Circular Queues in arrays. The program has four options as given below and it continues till the user wants
    a) Insert
    b) Delete
    c) Display
    d) Exit

 

  1. A program to implement Linked circular Queues. The program has four different options given below and it continues till the user wants
    a) Insert
    b) Delete
    c) Display
    d) Exit

 

  1. A program to show the implementation of Simple Inheritance

 

  1. A program to show the implementation of Multiple Inheritance.

 

  1. A program to show the implementation of Multilevel Inheritance. 

 

  1. A menu driven program to create a text file and include a function to read the file content in uppercase. 

 

  1. A menu driven program to create, append, read and copy a text file. Also include a function to read the file content in uppercase. The name of the original and copied file is entered by the user. The program should contain the following fuctions:
    write(), append(), read(), uppercase(), copy()

 

  1. A program for watching different fonts and style on characters

 

  1. A program to enter the Roll No., Name and Marks obtained by a student in a Binary File

 

  1. A program to enter the Roll No., Name and Marks obtained by different students in a Binary File, where the number of students whose data is to stored is entered by the user

 

  1. A program to convert a Decimal Number into a Binary Number. 

 

  1. A program to convert a Decimal Number into an Octal Number.

 

  1. Book Library (Project). 

 

  1. Payroll (Project).

 

  1. Personal Telephone Directory Management System (Project).

 


Previous:
Programming List


Next:
Elementary Programs