Initialization
This commit is contained in:
parent
c2d2b6016a
commit
18464f8c57
@ -3,11 +3,18 @@
|
|||||||
#define SIZE 10
|
#define SIZE 10
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
char numbs[SIZE] = {0} ;
|
char coefs[SIZE] = {0} ;
|
||||||
int x = 0;
|
int x = 0;
|
||||||
int input = 0;
|
int input;
|
||||||
int count = 0;
|
int count = 0;
|
||||||
|
|
||||||
|
while (input != EOF || input != '\n'){
|
||||||
|
coefs[SIZE] = input;
|
||||||
|
count ++;
|
||||||
|
}
|
||||||
|
|
||||||
|
printf("%d\n", coefs[SIZE]);
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user