Update cv7/program.c
This commit is contained in:
		
							parent
							
								
									4f0cef482d
								
							
						
					
					
						commit
						c2bcbcfff8
					
				| @ -52,9 +52,9 @@ void spusti_expert_system(struct strom* uzol) { | ||||
| 
 | ||||
|     char odpoved; | ||||
|     if (scanf(" %c", &odpoved) != 1 || (odpoved != 'a' && odpoved != 'n')) { | ||||
|         printf("Očakávala sa odpoveď 'a' alebo 'n'.\n"); | ||||
|         printf("Nerozumiem\n"); | ||||
|         return; | ||||
|     }  | ||||
|     } | ||||
| 
 | ||||
|     if (odpoved == 'a') { | ||||
|         spusti_expert_system(uzol->ano); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user