C Primer Plus 第6版 编程练习答案(第九章)

9.1.c #include <stdio.h> double min(double, double); int main(void) { double x, y; printf("Enter two numbers (q to quit): "); while (scanf("%lf %lf", &amp;x, &amp;y) == 2) { printf("The smaller number is %f.\n", min(x,y)); printf("Next two values (q to quit): "); } printf(...
浏览7075次
最新评论