Оновити 'cv3/program.c'

This commit is contained in:
Kapliuk 2024-03-06 20:54:00 +00:00
parent 8abc55c62b
commit 56f7c58a19

View File

@ -23,7 +23,9 @@ int main(){
fgets(line, 100, stdin);
chcf = strtok(line,"\n");
cf = strtod(line,NULL);
chcf1 = *chcf;
if(chcf != 0x0){
chcf1 = *chcf;
}
if(chcf1 >='A' && line[0] != '\n'){
printf("Nepodarilo sa nacitat polynom na %d mieste.\n", cfIdx);
return 1;