If you want to represent any data in machine level we required two electronic pluses ON and OFF . We represent this pluses with the help of...
Read More
Showing posts with label C. Show all posts
Showing posts with label C. Show all posts
Write a program for Printing 10 number using for loop
//this is a program of for loop #include<stdio.h> #include<conio.h> void main() { int i; printf("\n\nPrinting 10...
Read More
Write a program to print the multiples of 5 till last position
//this is a program to print the multiples of 5 till last position #include<stdio.h> #include<conio.h> void main() { int ...
Read More
Write a program to print the multiples of 8 from 1-n and count the total number
//this is a program to print the multiples of 8 from 1-n and count the total number #include<stdio.h> #include<conio.h> void...
Read More
Write a program to find the sum of number from 1 to n
//this is a program to find the sum of number from 1 to n #include<stdio.h> #include<conio.h> void main() { int n,i; un...
Read More
Write a program to print all the odd number from 1-100
//this is a program to print all the odd number from 1-100 #include<stdio.h> #include<conio.h> void main() { int i; ...
Read More
Write a program to print the table of 10
//this is a program to print the table of 10 #include<stdio.h> #include<conio.h> void main() { int i; printf("\n...
Read More
Write a program to print the sum of odd and eve numbers from 20-80
//this is a program to print the sum of odd and eve numbers from 20-80 #include<stdio.h> #include<conio.h> int main() { i...
Read More
Write a program to print numbers in reverse order
// this is a program to print numbers in reverse order #include<stdio.h> #include<conio.h> void main() { int i,sum=0; ...
Read More
Write a program to find whether the entered number is prime or not
//this is a program to find whether the entered number is prime or not #include<stdio.h> #include<conio.h> void main() { ...
Read More
Write a program to print the prime numbers from 1-100
//this is a program to print the prime numbers from 1-100 #include<stdio.h> #include<conio.h> void main() { int i,j,flag=...
Read More
Write a program to print the table of all the numbers from 1-n
//this is program to print the table of all the numbers from 1-n #include<stdio.h> #include<conio.h> void main() { int i,...
Read More
Write a program to print the table from 1-10
//this is a program to print the table from 1-10 #include<stdio.h> #include<conio.h> void main() { int i,j; printf(...
Read More
Write a program for Printing star pattern
//nested for loop #include<stdio.h> #include<conio.h> void main() { int i,j; printf("\n\nPrinting star pattern: ...
Read More
Write a program to print the star pattern 2
//this is a program to print the star pattern #include<stdio.h> #include<conio.h> void main() { int i,j; printf(...
Read More
Write a program to draw a pattern 4
//this is a program to draw a pattern #include<stdio.h> #include<conio.h> void main() { int i,j; printf("\n\nDra...
Read More
Write a program to print a number pattern 3
//this is a program to print a number pattern #include<stdio.h> #include<conio.h> void main() { int i,j,n=1; printf(...
Read More
Write a program to print the number pattern 2
//this is a program to print the number pattern #include<stdio.h> #include<conio.h> void main() { int i,j; printf(...
Read More
Write a program to print alphabet pattern
// this is a program to print alphabet pattern #include<stdio.h> #include<conio.h> void main() { int i,j; printf(...
Read More
Write a program to display the spellings of numbers using switch case
//this is a program to display the spellings of numbers #include<stdio.h> #include<conio.h> void main() { int num; pr...
Read More
Subscribe to:
Posts (Atom)