Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~381 People Reached
Favorite Forums
Favorite Tags
Member Avatar for elrond

#include<stdio.h> void main() {int a[100];int i;int getchar;int sum; for(i=0;i<=100;i++) while {((a[i]=getchar())!=EOF)} i++; printf("your no is =%d",&a[i]); i=0; sum=0; while(i<=100) {sum=sum+((a[i])^3); } i++; if(sum==a[100]) printf("number is armstrong"); else printf("number is normal"); not working,can someone give me an alternative usiing arrays,i got the for loop,want to execute using arrays!

Member Avatar for elrond
0
258
Member Avatar for elrond

a program that asks user to enter number of people their birth year date and month and sorts it i got the algorithm figured out its just the code thats not hitting me!

Member Avatar for Lardmeister
-1
123