refresh
This commit is contained in:
		
							parent
							
								
									246914848c
								
							
						
					
					
						commit
						0d6a072559
					
				| @ -3,7 +3,12 @@ | |||||||
| #define maxcoe 100 | #define maxcoe 100 | ||||||
| 
 | 
 | ||||||
| int read_number (double *num) { | int read_number (double *num) { | ||||||
|     char buffer[50] |     char buffer[50]; | ||||||
|  |     if (!fgets(buffer, sizeof(buffer), stdin)) { //если fgets не смог считать строку
 | ||||||
|  |         return 0; | ||||||
|  |     } | ||||||
|  |     if (sscanf) | ||||||
|  | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| int main() { | int main() { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user