Pages
Home
Image Gallery
skip to main
|
skip to sidebar
FullonStudy
The Site Contain C & C++ Programs
Facebook
Twitter
MySpace
Stumble
Reddit
Delicious
More...
Printing of Odd Number
Wednesday, 7 September 2011
#include<stdio.h>
#include<conio.h>
void main()
{
int t=0;
clrscr();
while(t<=10)
{
t++;
if(t%2)
continue;
printf("%d\t",t);
}
getch();
}
OUTPUT:
2 4 6 8 10
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Labels
2-D Array
(1)
Array
(3)
Back Slash
(6)
C
(74)
C BASIC
(14)
Continue Loop
(1)
Data Type
(2)
Decision Making
(10)
For Loop
(5)
Function
(11)
Function With Parameter and Return Type
(2)
Function with return But no argument
(1)
If-Else
(9)
Looping
(10)
NO return and No arguments
(3)
No return Type But Argument
(2)
Operator
(13)
Operator Bit wise
(2)
Operator Comma
(1)
Operator Increement Decreement
(3)
Operator Logical
(1)
Operator Arithmatic
(1)
Operator Assignment
(1)
Operator Relational
(2)
Operator Size
(2)
Pointer
(8)
Simple Programs
(6)
String
(6)
Structure
(7)
Switch Case
(1)
Union
(2)
While loop
(4)
Popular Posts
Number is Even or Odd
#include<stdio.h> #include<conio.h> void main() { int a; clrscr(); printf("enter the value of a "); scanf(...
Value & Address of a Variable
#include<stdio.h> #include<conio.h> void main() { int a; float b; a=10; b=20.34; printf("Address of a=%u\n",...
Simple Structure
#include<stdio.h> #include<conio.h> struct person { char name[10]; int age; }; void main() { struct person p; clrs...
Printing all odd number between 1&30
#include<stdio.h> #include<conio.h> void main() { int t=1; clrscr(); while(t<30) { if(t%2==1) printf(" ...
Array and Pointer and Function
#include<stdio.h> #include<conio.h> void main() { int a[]={1,2,3,4,5}; void show(int **,int); int *p=a; clrscr(); show(...
Pre Increement
#include<stdio.h> #include<conio.h> void main() { int x,y; clrscr(); x=10; y=++x; printf("x=%d\ny=%d",x,y); g...
Maximum of two Number
#include<stdio.h> #include<conio.h> void main() { int a,b; clrscr(); printf("enter the value of a "); scanf(...
Print the statement using Function
#include<stdio.h> #include<conio.h> void main() { void show(void); clrscr(); show(); getch(); } void show(void) { p...
Array of Structure
#include<stdio.h> #include<conio.h> void main() { typedef struct { char sname[10]; int rollno; c...
Addtion of Two Variable in C
#include<stdio.h> #include<conio.h> void main() { int a,b,c; clrscr(); printf("enter the value of a&b...
Archives
▼
2011
(74)
▼
September
(44)
Size of Numeric value
Size of Data Types
Maximum of two Number using Relational Operator
Use of Relational Operator
Logical Operator
Pre Increement
Post Increement
Pre & Post Increemaent
Comma Operator
Swaping Using Bit Wise Operator
Left & Right Shift Bit wise operator
Assignment Operator
Subtraction Using Arithmatic Operator
Structure and Union
Simple Union
Structure and Function
Structure and Pointer
Array of Structure
Declaration and Intialization of Structure
Person Detail's
Simple Structure
String Comparison with string function
String Reverse
Changing case of string characters
Length & Size of string with string length function
String Length without using string function
Pointer and String
Array and Pointer and Function
Pointer and Function & Call By Reference
Pointer to Pointer
Addition with Pointer
Demo of Pointer
Value & Address of a Variable
Sum of Two Float Numbers using Function
Simple program
Nesting of Function
Working with Two Function
Print the statement using Function
Factorial
Area of Circle
Square of two number
Enter & Display the elements in a 2-D Array
Printing of Odd Number
Generation of table of any given number
►
August
(30)
Blogger news
Blogroll
Enter your email address:
Delivered by
FeedBurner
Total Pageviews
About Me
T K Garg
View my complete profile
Followers
Most Reading
Number is Even or Odd
#include<stdio.h> #include<conio.h> void main() { int a; clrscr(); printf("enter the value of a "); scanf(...
Value & Address of a Variable
#include<stdio.h> #include<conio.h> void main() { int a; float b; a=10; b=20.34; printf("Address of a=%u\n",...
Simple Structure
#include<stdio.h> #include<conio.h> struct person { char name[10]; int age; }; void main() { struct person p; clrs...
Printing all odd number between 1&30
#include<stdio.h> #include<conio.h> void main() { int t=1; clrscr(); while(t<30) { if(t%2==1) printf(" ...
Array and Pointer and Function
#include<stdio.h> #include<conio.h> void main() { int a[]={1,2,3,4,5}; void show(int **,int); int *p=a; clrscr(); show(...
Pre Increement
#include<stdio.h> #include<conio.h> void main() { int x,y; clrscr(); x=10; y=++x; printf("x=%d\ny=%d",x,y); g...
Maximum of two Number
#include<stdio.h> #include<conio.h> void main() { int a,b; clrscr(); printf("enter the value of a "); scanf(...
Print the statement using Function
#include<stdio.h> #include<conio.h> void main() { void show(void); clrscr(); show(); getch(); } void show(void) { p...
Array of Structure
#include<stdio.h> #include<conio.h> void main() { typedef struct { char sname[10]; int rollno; c...
Addtion of Two Variable in C
#include<stdio.h> #include<conio.h> void main() { int a,b,c; clrscr(); printf("enter the value of a&b...
Copyright © .
FullonStudy
. Some Rights Reserved
Template Design by
Herdiansyah Hamzah
. Published by
Borneo Templates
No comments:
Post a Comment