//by rsravan12
#include<stdio.h>
#include<conio.h>
void main()
{
long int num,sum,k,temp ;
clrscr();
printf("\nenter num= ");
scanf("%d",&num);
sum=0;num=temp;
while(temp>0)
{
temp=temp%10;
sum=sum+k*k*k;
temp=temp/10;
}
if(num==sum)
{
printf("\n%d is armstrong",num);
}
else
{
printf("\n%d is not a armstrong",num);
}
getch();
}
//hyderabad
program to find maximum of two numbers using pointers
i love u darling
You can be trained to military Fitness standards using a Fitness program such as P90X or Insanity which have given workouts that military personnel do as well.
sdfsdfsfsggbcvbg
/*Program to find whether given no. is Armstrong or not. Example : Input - 153 Output - 1^3 + 5^3 + 3^3 = 153, so it is Armstrong no. */ class Armstrong{ public static void main(String args[]){ int num = Integer.parseInt(args[0]); int n = num; //use to check at last time int check=0,remainder; while(num > 0){ remainder = num % 10; check = check + (int)Math.pow(remainder,3); num = num / 10; } if(check == n) System.out.println(n+" is an Armstrong Number"); else System.out.println(n+" is not a Armstrong Number"); } }
write a vb program to find the magic square
syntax error
No, thanks.
Write a program to find the grade obtained by the students of a class
No.
False!
write an assembly language program to find sum of N numbers