void main()
{
int n,b=0,t;
clrscr();
printf("Enter the no");
scanf("%d",&n);
t=n;
while(n>0)
{
a=n%10;
b=b+a*a*a;
n=n/10;
}
if(b==t)
{
printf("Armstrong no");
}
else
{
printf("Not an Armstrong no");
}
getch();
}
write a program to print A to Z on screen in c?
good morning
Yes.
write a program to print the series 1/12+1/22+.........+1/n2 ?
Write a c program to print the 100 to 1 nos
Q.1 Write a program to print first ten odd natural numbers. Q.2 Write a program to input a number. Print their table. Q.3 Write a function to print a factorial value.
#include
include <stdio.h> int main (void) { puts ("print"); return 0; }
(ab)*b
123454321
sdfdg
i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?