If I put: -- while(scanf("%d", &a) --
and then input how much values that i want, how can I compare:
The first one with the second one, the second one with the third one, the third one with the...
Type: Posts; User: davidl33t
If I put: -- while(scanf("%d", &a) --
and then input how much values that i want, how can I compare:
The first one with the second one, the second one with the third one, the third one with the...
I just can't seem to figure this out. My program is: Put unlimited characters until you put " ! ". If there are numbers in those characters, calculate their sum.
#include <stdio.h>
int main()...