Aufgabe 1 abgeschlossen
This commit is contained in:
		
							parent
							
								
									826ed82258
								
							
						
					
					
						commit
						5514c48754
					
				
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -31,7 +31,7 @@ int main(void)
 | 
			
		|||
	// begin students to add code for task 4.1
 | 
			
		||||
 | 
			
		||||
    while (1) {
 | 
			
		||||
        printf("\nDreiecksbestimmung (CTRL-C: Abbruch)\n");
 | 
			
		||||
        printf("\nDreiecksbestimmung (CTRL-C: Abbruch)\n\n");
 | 
			
		||||
 | 
			
		||||
        int word = 0;
 | 
			
		||||
        int a = 0;
 | 
			
		||||
| 
						 | 
				
			
			@ -69,12 +69,12 @@ int main(void)
 | 
			
		|||
            break;
 | 
			
		||||
 | 
			
		||||
        if (Rectangular(a, b, c) == 1)
 | 
			
		||||
            printf("-> Dreieck %d-%d-%d ist rechtwinklig", a, b, c);
 | 
			
		||||
            printf("-> Dreieck %d-%d-%d ist rechtwinklig\n", a, b, c);
 | 
			
		||||
        else
 | 
			
		||||
            printf("-> Dreieck %d-%d-%d ist nicht rechtwinklig", a, b, c);
 | 
			
		||||
        printf("\n");
 | 
			
		||||
            printf("-> Dreieck %d-%d-%d ist nicht rechtwinklig\n", a, b, c);
 | 
			
		||||
        printf("\n\n");
 | 
			
		||||
    }
 | 
			
		||||
    printf("\n\nbye bye\n");
 | 
			
		||||
    printf("\n\nbye bye\n\n");
 | 
			
		||||
 | 
			
		||||
	// end students to add code
 | 
			
		||||
    return EXIT_SUCCESS;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -1,8 +1,13 @@
 | 
			
		|||
 | 
			
		||||
Dreiecksbestimmung (CTRL-C: Abbruch)
 | 
			
		||||
 | 
			
		||||
Seite a: Seite a: Seite a: Seite a: Seite a: Seite b: Seite b: Seite b: Seite b: Seite b: Seite c: Seite c: -> Dreieck 3-4-5 ist rechtwinklig
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Dreiecksbestimmung (CTRL-C: Abbruch)
 | 
			
		||||
 | 
			
		||||
Seite a: 
 | 
			
		||||
 | 
			
		||||
bye bye
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue