Обновить cv1/program.c
This commit is contained in:
		
							parent
							
								
									b2d1c23953
								
							
						
					
					
						commit
						69f285e2d1
					
				| @ -29,7 +29,7 @@ int main() { | |||||||
|     if (fgets(ingredient, MAX_NAME_LEN, stdin) == NULL) { |     if (fgets(ingredient, MAX_NAME_LEN, stdin) == NULL) { | ||||||
|         return 0; |         return 0; | ||||||
|     } |     } | ||||||
|     ingredient[strcspn(ingredient, "\n")] = '\0'; | 
 | ||||||
| 
 | 
 | ||||||
|     printf("Zadaj jedalny listok:\n"); |     printf("Zadaj jedalny listok:\n"); | ||||||
|     while (1) { |     while (1) { | ||||||
| @ -75,4 +75,3 @@ int main() { | |||||||
|     printf("Nacitanych %d poloziek.\n", count); |     printf("Nacitanych %d poloziek.\n", count); | ||||||
|     return 0; |     return 0; | ||||||
| } | } | ||||||
| 
 |  | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user