Aktualizovat „du4/program.c“
This commit is contained in:
		
							parent
							
								
									109f57f7b9
								
							
						
					
					
						commit
						e8f15a894b
					
				@ -36,7 +36,7 @@ int main()
 | 
			
		||||
    memset(str,0,100);
 | 
			
		||||
    fgets(str,100,stdin);
 | 
			
		||||
    char *new_str = compactString(str,strlen(str));
 | 
			
		||||
    printf("%s\n",new_str);
 | 
			
		||||
    //printf("%s\n",new_str);
 | 
			
		||||
    double first =-5,second =-5,res=-5;
 | 
			
		||||
    char c='E';
 | 
			
		||||
    sscanf(new_str,"%lf%c%lf%*[=]%lf",&first,&c,&second,&res);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user