Monday, October 12, 2009

Iterative Statement - Problem on C Programming

What is the screen output of the ff. program?

#include
main()
{
int x,y;
for (x=2;x<=4;x++)
for(y=5;y>=3;y--)
printf("%d\n",x+y);
getch();
}

Output:

7
6
5
8
7
6
9
8
7
_

Labels:

Wednesday, October 07, 2009

C Program using FOR Statement

Problem:

Write a program that will print the numbers 1 to 10 using a FOR Statement.


Program:

#include"stdio.h"
int x;
main( )
{
for (x=1;x<=10;x++)
printf ("%d"\n",x);
getch( );
}


Output:

1
2
3
4
5
6
7
8
9
10

Labels:

Monday, October 05, 2009

C Programming Lesson - Iterative (Looping) Statements

CHAPTER 10

ITERATIVE STATEMENTS
(Click the word above to view the presentation)

Have a nice day!

Labels:

Saturday, October 03, 2009

Adsense Highest Paying Keywords

PURCHASE STRUCTURED SETTLEMENT keyword is rank 1 which has a cost per click or CPC $53.48.

MESOTHELIOMA LAWYERS SAN DIEGO keyword is rank 2 which has has a cost per click or CPC of $51.47.

Source: www.tareeinternet.com

Labels: