Monthly Archives: June 2018

C++ program using readData() to read three floating numbers,addData() for addition among three floating numbers and finally showResult() to display result defined by the user.

CODES: View the code on Gist. OUTPUTS: enter the numbers 1 2 3.4 summation:6.4

Posted in C | Tagged , , , , , , | Leave a comment

C++ program to return true if age is eligible for certain purpose, else false by using a function declared by the user

CODES: View the code on Gist. OUTPUTS: please enter your age 16 congrats you are eligible

Posted in C | Tagged , , , , , , | Leave a comment

C++ program to simply add three numbers by writing a function add() that asks number from user.

CODES: View the code on Gist. OUTPUTS: enter the three numbers 1 2 3 6

Posted in C | Tagged , , , , , | Leave a comment

C++ program to find the greatest number among ‘n’ numbers input by user using the concept of ‘new’ operator.

View the code on Gist.  

Posted in C | Leave a comment

C++ program to find the sum of two 2X3 matrices input by the user.

View the code on Gist.  

Posted in C | Tagged , , , , | Leave a comment

C++ program to define an enumerator color with various names of color as its members,read an integer from user and display color name corresponding to an integer.

View the code on Gist. OUTPUTS: enter the color number = 2 the color is green guys !!

Posted in C | Tagged , , , , , , | Leave a comment

C++ program to find the products of two number asked by the user.

View the code on Gist. OUTPUTS: Enter any two numbers: 2 3 multiply=6

Posted in C | Tagged , , , , , , | Leave a comment

C++ program to display message “welcome to c++ programming language”

View the code on Gist. OUTPUTS: welcome to c++ programming language.

Posted in C | Tagged , , , , , | Leave a comment