Initializacia
This commit is contained in:
		
							parent
							
								
									cda4f030d6
								
							
						
					
					
						commit
						1b9c8f4a2e
					
				@ -52,11 +52,10 @@ void run_tree(struct tree* tree) {
 | 
			
		||||
    if (scanf(" %c", &response) != 1) {
 | 
			
		||||
        printf("Koniec vstupu\n");
 | 
			
		||||
        return;
 | 
			
		||||
    else if(response != 'a' && response != 'n'){
 | 
			
		||||
    } else if (response != 'a' && response != 'n') {
 | 
			
		||||
        printf("Nerozumiem\n");
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (response == 'a') {
 | 
			
		||||
        run_tree(tree->left);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user