Warning: mysqli_connect() [function.mysqli-connect]: (28000/1045): Access denied for user 'itprojec_abhi'@'localhost' (using password: YES) in /home1/itprojectsco/public_html/includes/database.php on line 13
Ready Project |BCA Project | MCA Project | BBA Project | MBA Project |INDIA'S BIGGEST COLLEGE PROJECT STORE
#include <stdio.h>
#include<math.h>
void main()
{
int number, sum = 0, rem = 0, cube = 0, temp;
printf ("enter a number");
scanf("%d", &number);
temp = number;
while (number != 0)
{
rem = number % 10;
cube = pow(rem, 3);
sum = sum + cube;
number = number / 10;
}
if (sum == temp)
{
printf ("The given no is armstrong no");
}
else
{
printf ("The given no is not a armstrong no");
}
}

Search

Project Categories


    Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in /home1/itprojectsco/public_html/includes/sidebar.php on line 30

    Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /home1/itprojectsco/public_html/includes/sidebar.php on line 32

Recent Posts


Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in /home1/itprojectsco/public_html/includes/widget.php on line 5

Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /home1/itprojectsco/public_html/includes/widget.php on line 7

Sign In