program
This commit is contained in:
		
							parent
							
								
									d9759f6075
								
							
						
					
					
						commit
						c2cc886386
					
				@ -19,9 +19,6 @@ int read_pizza(struct pizza* item){
 | 
			
		||||
    char *l1 = fgets(line1,LINESIZE,stdin);
 | 
			
		||||
    char *l2 = fgets(line2,LINESIZE,stdin);
 | 
			
		||||
 | 
			
		||||
    //line1[strlen(line1)-1] = '\0';
 | 
			
		||||
    //line2[strlen(line2)-1] = '\0';
 | 
			
		||||
 | 
			
		||||
    float value = strtof(line2, &l2);
 | 
			
		||||
    if(value == 0.0F){
 | 
			
		||||
       return 0;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user