Write a C program to find a number is AMSTRONG or NOT.
#include<stdio.h> #include<conio.h> main() { int n,x,digit,s=0; printf("\n enter any number"); scanf("%d",&n); x=n; do { digit=n%10; s=s+digit*digit*digit; n=n/10; }while(n>0); if(s==t) printf("\n the number is AMSTRONG"); else printf("\n the number is NOT AMSTRONG"); getch(); }
Output:
Write a C program to calculate the following sum:
Sum = 1-x^2/2!+x^4/4!-x^6/6!+x^8/8!-x^10/10!
Write a C Program That Uses Functions To Delete N – Charactres From A Given Position In A Given String.
Write a C-Program That Uses Functions To Insert A Sub-String In To A Given Main String From A Given Position.
Draw the ER diagram of a hospital and explain.
Write the characteristics of a good user interface.
What do you mean by software crisis & its solution.