BEGINNING WITH C++ PROGRAM :
There is some basic programs collection of c++ with there output. The best way to learn about programming language is by writing programs. There i had already discussed about the structure of c++ program (i.e Basic Structure Of C++ Program.).
Basic Programs for beginning of c++ :
-Write a Program in C++ for Arithmetic Operation.
-Write a Program in C++for Addition of Two Numbers.
-Write a Program in C++ for Arithmetic Operation with different Values.
-Write a Program in C++ to Find the Area of Circle of given Radius.
Control Statements Programs:-
- Write a Program in C++to Find the Greatest one using if statement.
-Write a Program in C++ to find the Greatest Number out of two number using if-else statement.
-Write a Program in C++ to Check the given Number for Even or Odd.
-Write a program in C++to Evaluate the Performance of a Student Using if- else- if statement.
-Write a Program in C++ to calculate Sum and Multiplication of Two Numbers if first value is greater then 2nd otherwise Print 'Sorry'.
-Write a Program in c++ to Print Number of Days in a Month using switch case.
-Write a program in C++ for Simulation of a Simple Calculator using Switch Case.
or
-Write a program in C++ for Simulation of a Simple Calculator using Switch Case.
-Write a Program in C++ to Calculate the area of the circle until radius entered is zero using While Loop.
-Write a Program in C++ to Print first n Natural numbers and their sum using while loop.
-Write a Program in C++ to Print first n natural numbers and their sum using do-while loop.
-Write a Program in C++ to Print first n Natural numbers and their sum using for loop.
-Write a Program in C++ to generate a patterns using for loop.
Functions in C++ :-
-Introduction
-Write a program in C++ to Calculate of simple interest using a function call by value method.
-Write a program in C++ for swapping of two numbers using function call by reference method.
-Write a Program in C++ to generate first n fibonacci terms .
-Write a Program in C++ which calculates the factorial of a number using recursion.
-Write a Program in c++ for function Overloading.
Array in C++ :-
-Write a Program in c++ which store the marks of five students in an array and then print all the marks.
-Write a Program in c++to input the marks of five students in an array and then print all the marks.
-Write a Program in c++ which read 6 no. from keyboard and store these no into array and then calculate sum of these no. using function.
-Write a program in c++ which initialize a two dimensional array and print all the elements in matrix form.
-Write a program in c++ to input the value in two dimensional array and print all the elements in matrix form.
-Write a program in c++ which read two matrix and then print a matrix which is addition of these two matrix.
Structure in C++:-
-Declaration of structure, creating a structure variable,accessing member of structure.
-Write a program in c++ to read and write in structure .
or
-Write a program in c++ to read and write in structure .
-Write a program to calculate area of circle with structure and function
-Array with structures
There is some basic programs collection of c++ with there output. The best way to learn about programming language is by writing programs. There i had already discussed about the structure of c++ program (i.e Basic Structure Of C++ Program.).
Basic Programs for beginning of c++ :
-Write a Program in C++ for Arithmetic Operation.
-Write a Program in C++for Addition of Two Numbers.
-Write a Program in C++ for Arithmetic Operation with different Values.
-Write a Program in C++ to Find the Area of Circle of given Radius.
Control Statements Programs:-
- Write a Program in C++to Find the Greatest one using if statement.
-Write a Program in C++ to find the Greatest Number out of two number using if-else statement.
-Write a Program in C++ to Check the given Number for Even or Odd.
-Write a program in C++to Evaluate the Performance of a Student Using if- else- if statement.
-Write a Program in C++ to calculate Sum and Multiplication of Two Numbers if first value is greater then 2nd otherwise Print 'Sorry'.
-Write a Program in c++ to Print Number of Days in a Month using switch case.
-Write a program in C++ for Simulation of a Simple Calculator using Switch Case.
or
-Write a program in C++ for Simulation of a Simple Calculator using Switch Case.
-Write a Program in C++ to Calculate the area of the circle until radius entered is zero using While Loop.
-Write a Program in C++ to Print first n Natural numbers and their sum using while loop.
-Write a Program in C++ to Print first n natural numbers and their sum using do-while loop.
-Write a Program in C++ to Print first n Natural numbers and their sum using for loop.
-Write a Program in C++ to generate a patterns using for loop.
Functions in C++ :-
-Introduction
-Write a program in C++ to Calculate of simple interest using a function call by value method.
-Write a program in C++ for swapping of two numbers using function call by reference method.
-Write a Program in C++ to generate first n fibonacci terms .
-Write a Program in C++ which calculates the factorial of a number using recursion.
-Write a Program in c++ for function Overloading.
Array in C++ :-
-Write a Program in c++ which store the marks of five students in an array and then print all the marks.
-Write a Program in c++to input the marks of five students in an array and then print all the marks.
-Write a Program in c++ which read 6 no. from keyboard and store these no into array and then calculate sum of these no. using function.
-Write a program in c++ which initialize a two dimensional array and print all the elements in matrix form.
-Write a program in c++ to input the value in two dimensional array and print all the elements in matrix form.
-Write a program in c++ which read two matrix and then print a matrix which is addition of these two matrix.
Structure in C++:-
-Declaration of structure, creating a structure variable,accessing member of structure.
-Write a program in c++ to read and write in structure .
or
-Write a program in c++ to read and write in structure .
-Write a program to calculate area of circle with structure and function
-Array with structures
No comments:
Post a Comment