Server IP : 172.16.15.8 / Your IP : 3.142.43.244 Web Server : Apache System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.2.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/kmmowery/cs212/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
[kmmowery@zeus cs212]$ script Funct2.txt Script started, file is Funct2.txt [kmmowery@zeus cs212]$ ./F2.out Input x (n/d, exit to quit): 2/3 Input y (n/d): 4/3 Operation? (+, -, *, /) + 2/3 + 4/3 = 18/9 Input x (n/d, exit to quit): 1/2 Input y (n/d): 2/3 Operation? (+, -, *, /) - 1/2 - 2/3 = -1/6 Input x (n/d, exit to quit): 1/8 Input y (n/d): 2/5 Operation? (+, -, *, /) * 1/8 * 2/5 = 2/40 Input x (n/d, exit to quit): 5/9 Input y (n/d): 4/8 Operation? (+, -, *, /) / 5/9 / 4/8 = 40/36 Input x (n/d, exit to quit): exit Bye.