Initialization

This commit is contained in:
Kozar 2024-03-07 13:39:09 +01:00
parent fa83d0a9a5
commit ab30942118

View File

@ -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;
}