C++ Programming Code Examples
C++ > Miscellaneous Code Examples
Virus Joke Program - This is not exactly a virus ....
C Armstrong Numbers Between 2 Integers -
Program Print Armstrong Numbers between two Integers. In case of an armstrong number of 3 digits, the Sum of Cubes of each digits is equal to the number itself. For example: 407
C Convert Octal to Binary Number System -
C program to input Octal number from user and convert to Binary number system. How to convert from Octal Number System to Binary number system in C. Octal number...
Check Alphabet Digit or Special Character -
Checking Alphabet, Digit or Special character using ASCII value. A character is alphabet if it in between a-z or A-Z. A character is digit if it is in between 0-9. And A character is special
Find Maximum between 2 Numbers using -
C Program input two numbers from user and find maximum between two numbers using switch case. Input two numbers. Store it in a variable say j1 & j2. Switch expression j1 > j2
C Language Sample Add Two Polynomials -
Enrter the elements of the first poly. Unable to create memory. Enter the elements of the second poly. Printing the elements of the lists. The elements of the poly first are. The...
C Program Code to Print Diamond Pattern -
Take the number of rows as input and store in the variable number. Firstly decrement the variable number by 1 and assign this value to the variable count. Use this variable count as
C++ Program Code Print Number Entered -
You'll learn to print the number entered by a user using C++ cout statement. This program asks user to enter a number. When enters an 'integer', it is stored in variable number using
Code Read & Print Details of 50 Students -
The annual examination is conducted for 50 students for three subjects. Write a program to read the data and determine the following: Total marks obtained by each student. The...