Program to Check Whether Given Number is Perfect Or Not ?
#include<stdio.h>
int main()
{
int n,i=1,sum=0;
printf("nEnter...
C Progranm to Check for Armstrong Number
Armstrong Number : When Sum of Cubes of Digits Of Number Equal to Same Given Number then the number is called as...
Check Whether Number is Prime or not
#include<stdio.h>
int main()
{
int num,i,count=0;
printf("nEnter a number:");
scanf("%d",&num);
...
Check Whether Given Number is Palindrome or Not ????
Check Whether Given Number is Palindrome or Not ????
#include<stdio.h>
#include<string.h>
int main()
{
int...
C Program To Print First 10 Natural Numbers
Using For Loop
#include<stdio.h>
#include<conio.h>
void main()
{
int i=1;
clrscr();
for(i=1;i<=10;i++)
...
C Program to generate the Fibonacci Series starting from any two numbers
#include<stdio.h>
#include<conio.h>
int main()
{
int first,second,sum,num,counter=0;
clrscr();
printf("Enter...
Subscribe to:
Posts (Atom)