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

This commit is contained in:
Kapliuk 2024-03-06 21:03:03 +00:00
parent 103815e3e9
commit 4236c7f765

View File

@ -23,7 +23,7 @@ int main(){
fgets(line, 100, stdin); fgets(line, 100, stdin);
chcf = strtok(line,"\n"); chcf = strtok(line,"\n");
cf = strtod(line,NULL); cf = strtod(line,NULL);
if(chcf != 0x0){ if(chcf != NULL){
chcf1 = *chcf; chcf1 = *chcf;
} }
if(chcf1 >='A' && line[0] != '\n'){ if(chcf1 >='A' && line[0] != '\n'){