#include <stdio.h> int main( void ) { for( double x,y; printf("请输入浮点数:"), scanf("%lf%lf",&x,&y)==2; ) { double z = (x-y)/(x*y); printf( "%f\n", z ); } return 0; }