Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <math.h>
- int main()
- {
- double x;
- scanf("%f", &x);
- const double a = 3,b = 6;
- switch(x)
- {
- case 1: {f1(x)<a;
- break;}
- case 2: {f1(x)>a && f1(x)<b;
- break;}
- case 3: {f1(x)>b;
- break ;}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement