大学c语言编程,分段函数的编程,题目如下,帮忙解答一下,谢谢!

日期:2019-03-30 21:42:44 人气:1

大学c语言编程,分段函数的编程,题目如下,帮忙解答一下,谢谢!

#include "stdio.h"#include "math.h"int main(int argc,char *argv[]){ double x; while(1){ printf("Please enter x:\nx="); if(scanf("%lf",&x)!=1) return 0; if(x>0 && x1 && x=10 && x<15) printf("x=%
    A+
热门评论