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 ...

Sep 10, 2013

The program of compound interest in C

Unknown | 10:12 AM | Be the first to comment!
Today I am going to tell you how to get Compound Interest with C program. It is not very difficult. Very simple and easy program. However, Let's start our program. Open your Turbo C program and enter the following codes: #include <stdio.h> #include <conio.h> #include <math.h> void main (){ float p, r, n, i,...
Read more ...

Sep 4, 2013

Simple program in C++

Unknown | 2:20 PM | Be the first to comment!
Today I am going to tell you how to create a simple C++ program. Suppose we would like to display the message “Hello world! This is my first program” on your video screen. #include <iostream. h>void main()  // program heading  {  //  begin     cout  << "Hello world! This...
Read more ...

Sep 1, 2013

About programming language C and C++

Unknown | 5:24 PM | 1 Comment so far
For the last couple of decades, the C programming language has been widely accepted for all applications, and are perhaps the most powerful of structured programming languages. In recent times, the object oriented programming (OOP) paradigm has become popular in modern software life cycles. Now, C++ has the status of a structured programming...
Read more ...

Aug 31, 2013

What is a program?

Unknown | 3:59 PM | Be the first to comment!
A program is a sequence of instructions that specifies how to perform a computation. The computation might be something mathematical, such as solving a system of equations or finding the roots of a polynomial, but it can also be a symbolic computation, such as searching and replacing text in a document or (strangely enough) compiling a...
Read more ...

Aug 30, 2013

How to create a Batch Program

Unknown | 3:42 PM | 1 Comment so far
Batch file programming is the native programming offered by the Microsoft Windows Operating System. The batch file is created using any text editors like notepad, WordPad, WinWord or so on, which comprises of a sequence of built-in commands used to perform some often done tasks like deleting a series of files of the same type or of different...
Read more ...
Pages (3)123 Next
Twitter Delicious Facebook Digg Stumbleupon Favorites More

Search