Home

FOR loop infinite iterations

FOR loop infinite iterations

Posted by Rashid Sharafat | On: Jun 27 2010 | Comments (0)
Usually FOR Loop in C language requires initial state, a condition and number of iteration (repetitions). But we can use FOR loop for unlimited iterations. In this Case, we will not give any initial state, condition and iterations...
Calculator C Program Using Switch Case

Calculator C Program Using Switch Case

Posted by Rashid Sharafat | On: Jun 26 2010 | Comments (0)
Calculator C program performs addition, subtraction, multiplication and division using switch case makes this program simple and errors free. I made it by using Switch Case. This Program can also made by Using Nested IF...
Diamond C Program using FOR loop

Diamond C Program using FOR loop

Posted by Rashid Sharafat | On: Jun 24 2010 | Comments (2)
Make Diamond C using FOR Loops is a very Interesting Program that uses FOR Loops in a logical way. If you can Create Triangle as well as Inverse Triangle, then you can easily create Diamond very Quickly. It contains Nested...
Triangle C Program using FOR loop

Triangle C Program using FOR loop

Posted by Rashid Sharafat | On: Jun 23 2010 | Comments (0)
Triangle C Program is somewhat different from right Triangle because we have to print spaces with the stars. Triangle C program contains outer Loop with three inner FOR Loops. One for spaces and other two stars and you...
Inverse Triangle C Program using FOR loop

Inverse Triangle C Program using FOR loop

Posted by Rashid Sharafat | On: Jun 23 2010 | Comments (0)
Inverse Right Triangle C program is the same as right Triangle in C Language but with the reverse conditions of FOR Loops. In the Simple Right Triangle, we use Simple Iteration but in this program we use reverse Iteration....
Right Triangle with stars using FOR loop

Right Triangle with stars using FOR loop

Posted by Rashid Sharafat | On: Jun 21 2010 | Comments (0)
Today i am sharing with you a very common program in Right Triangle in C using FOR loops. This is right Triangle with stars (asterisk) using FOR Loops. This is very simple program and with the help of this, you can easily...
Inverse Table C Program

Inverse Table C Program

Posted by Rashid Sharafat | On: Mar 15 2010 | Comments (0)
Inverse Table in C language is very simple that contains a FOR loop. It is a counting using FOR Loop and multiply with a number. I am sharing with you the source code of Inverse Table in Cplusplus language. But it will...
Table Program in C Language

Table Program in C Language

Posted by Rashid Sharafat | On: Mar 15 2010 | Comments (1)
Table Program in C language is a very simple logic that contains a FOR loop and multiply the counter of the Loop with the number.  The source code will help you to understand the simple logic of the Table. If you are going...
Find Prime or Composite Number

Find Prime or Composite Number

Posted by Rashid Sharafat | On: Mar 05 2010 | Comments (1)
Compilter: Turbo C++ 3.0 Enter a Number and Find whether it is a Prime number or composite. Also program will tell you total number of divisors of composite number. Output: I put 8 as a Input and Program tells us that Number...
Hello World C++

Hello World C++

Posted by Rashid Sharafat | On: Mar 02 2010 | Comments (4)
Hello World is the convention whenever a first program is being written on any programming language. So i am writing the same “Hello World C++” first program in C language. Compiler: Visual C++ 6.0 Program: Print...