Dec 4, 2013

A simple game with C program

Unknown | 2:15 PM | | 1 Comment so far
Create a simple game with C program. #include <stdlib.h>#include <stdio.h>#include <conio2.h>#include <stdbool.h>#include <time.h>#define N_OBJ 10typedef struct {        float life,               money,         ...
Read more ...

Nov 12, 2013

Meaning of Comparison, Logical, Assignment and Arithmetic Operators in C++

Unknown | 12:38 PM | 2 Comments so far
Comparison and Logical Operators For program flow, the comparison as well as the logical operators is required. The comparison and logical operators can be grouped into three. They are relational operators, equality operators and logical operators.       OPERATOR                          ...
Read more ...

Oct 8, 2013

C++ program to find the sum and average of given numbers using for loop

Unknown | 10:19 AM | 3 Comments so far
The for loop is the most commonly used statement in C++. This loop consists of three expressions. The first expression is used to initialize the index value, the second to check whether or not the loop is to be continued again and the third to change the index value for further iteration.                          ...
Read more ...

Oct 1, 2013

Display the name of the week with C++ program

Unknown | 2:37 PM | Be the first to comment!
Hi, Today I am going to give you a simple C++ program. This following program structures display the name of the week, depending upon the number entered through the keyboard using the switch-case statement. The switch statement is a special multi way decision maker that tests whether an expression matches one of the numbers...
Read more ...

Sep 27, 2013

Find Prime number with C++ Program

Unknown | 4:10 PM | Be the first to comment!
Do you know what is a prime number? A natural number greater than 1 which has only two divisors 1 and it is called a prime number. For example: 7 is a prime number. Because it has only two divisors 1 and 7 (itself). Now I am going to tell you how to find a prime number by using C++ program. Just type these code below //C++ Program...
Read more ...

Sep 17, 2013

C++ program to find the largest value among any four numbers

Unknown | 11:14 AM | Be the first to comment!
Today I am going to tell you how to find the largest value among any four numbers with a simple C++ program. You can also see how to find the largest value of any three numbers.  Anyway, the C++ program code is bellow: // A C++ program to find the largest value among any four numbers #include <iostream.h> void...
Read more ...

Sep 14, 2013

A C++ program to find the largest value of any three numbers

Unknown | 1:20 PM | Be the first to comment!
Now I am telling you how to find the largest value of any three numbers with C++ program. If you enter any three numbers you will get the largest value from these. It's so simple and easy program. However, Let's start our program.  #include <iostream.h> void main( void) {  float x,y,z;  cout <<...
Read more ...
Pages (3)123 Next
Twitter Delicious Facebook Digg Stumbleupon Favorites More

Search