Initialization
This commit is contained in:
parent
fa83d0a9a5
commit
ab30942118
@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define SIZE 100
|
||||
|
||||
@ -14,7 +13,7 @@ int main() {
|
||||
while (count < SIZE) {
|
||||
if (scanf("%lf", &input) != 1) {
|
||||
if (scanf("%c", &input) == 1) {
|
||||
if (count = 0){
|
||||
if (count == 0){
|
||||
printf("Nepodarilo sa nacitat zaklad x\n");
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user