Tag Archives: codes
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
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
CODES: View the code on Gist. OUTPUTS: enter the three numbers 1 2 3 6
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 !!
View the code on Gist. OUTPUTS: Enter any two numbers: 2 3 multiply=6
View the code on Gist. OUTPUTS: welcome to c++ programming language.
Spotify is a Swedish entertainment company founded by Daniel Ek and Martin Lorentzon which precisely specializes in music, podcast, and video streaming service that launched on 7 October 2008. Spotify is located in Stockholm, Sweden. It provides DRM-protected content from record labels and media companies. It is a freemium service; basic features are free … Continue reading
Introductions: C++ is a statically typed, free form, multiparadigm, compiled general-purpose programming language developed by Bjarne stroustrup at Bell Labs in 1979. It is the extension to C and it too is a general purpose programmig language. It is a … Continue reading
Program to calculate factorial of number n and find out permutation and combination using return type.
Problem Analysis: The problem is to calculate the factorial of a given number and find out permutation and combination using the factorial calculated. Code: View the code on Gist. Outputs: Enter a number(n) to calculate it’s factorial and r … Continue reading