//this is a program to print hello 10 times #include<stdio.h> #include<conio.h> void main() { int i=1; printf("\...
Read More
Showing posts with label While Loop. Show all posts
Showing posts with label While Loop. Show all posts
Write a program to print numbers from 1-n
//this is a program to print numbers from 1-n #include<stdio.h> #include<conio.h> void main() { int i=1,n; printf(...
Read More
Write a program to display numbers from 1-50 in reverse order
//this is a program to display numbers from 1-50 in reverse order #include<stdio.h> #include<conio.h> void main () { int ...
Read More
Write a program to display whether the entered number is a Armstrong number or not
//This is a program to display whether the entered number is a Armstrong number or not #include<stdio.h> #include<conio.h> v...
Read More
Write a program for the continuity demonstration
//this is a program for the continuity demonstration #include<stdio.h> #include<conio.h> void main() { int num; char ch...
Read More
Write a program to find the factorial of the entered number
//this is a program to find the factorial of the entered number #include<stdio.h> #include<conio.h> void main() { int num...
Read More
Write a program to find the number of entered digits
//This is a program to find the number of entered digits #include<stdio.h> #include<conio.h> void main() { int count=0,nu...
Read More
Write a program to display odd numbers from 1-10
//this is a program to display odd numbers from 1-10 #include<stdio.h> #include<conio.h> void main() { int i=1; print...
Read More
Write a program to display whether the entered number is a Palindrome or not
//this is a program to display whether the entered number is a Palindrome or not #include<stdio.h> #include<conio.h> void ma...
Read More
Subscribe to:
Posts (Atom)