![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 05.05.2020 04:13 normarjohnson
1. Accept input from a) Standard input (loop for waiting next input after printing the computation result) b) Text file (file name: input. txt with multiple lines of arithmetic expression) 2. The input string is an arithmetic expression including parentheses () and only has one line a) The operator and operand may not have a space character as the separator b) For example, (10.1+200 – 4.5x 5.5)/(2 -3 x5) c) If the input string has syntax error, terminate the program and tell what is wrong. 3. The operand can be an integer or a floating-point value and also negative number. 4. The operators include +, -, x, / and ! (factorial) 5. If the output is not an integer, round to 4 decimal places. a) If using command line or Eclipse console i. Input: (-20-10.1+200 – 4.5x 5.5)/(2 -3 x5) ii. Output: = -11.1654 b) If using a text file (input. txt) as input, you should create an output file (output. txt) i. Input: (-20-10.1+200 – 4.5x 5.5)/(2 -3 x5) ii. In output file: Input: (-20-10.1+200 – 4.5x 5.5)/(2 -3 x5) = -11.1654 iii. There are more than 1 input arithmetic expression in the file.
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 09:30, caromaybelline71
Write an essay on online collaboration, how to do it, the challenges, resolving the challenges, and consider whether the risks are greater than rewards. ( need )
Answers: 1
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 00:00, ddatsman1730
One difference of input method between most desktop computers and most tablets is the memory the touch screen the speech recognition
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 00:30, jennynmike03
Which of these serves as a bridge between the programming team and the audio team?
Answers: 2
You know the right answer?
1. Accept input from a) Standard input (loop for waiting next input after printing the computation r...
Questions in other subjects:
![Konu](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 31.10.2020 04:50
![Konu](/tpl/images/cats/mat.png)
Mathematics, 31.10.2020 04:50
![Konu](/tpl/images/cats/mkx.png)
Arts, 31.10.2020 04:50
![Konu](/tpl/images/cats/fizika.png)
![Konu](/tpl/images/cats/ekonomika.png)
Business, 31.10.2020 04:50
![Konu](/tpl/images/cats/mat.png)
Mathematics, 31.10.2020 04:50
![Konu](/tpl/images/cats/mat.png)
Mathematics, 31.10.2020 04:50
![Konu](/tpl/images/cats/mat.png)
Mathematics, 31.10.2020 04:50
![Konu](/tpl/images/cats/mkx.png)
Arts, 31.10.2020 04:50
![Konu](/tpl/images/cats/mat.png)
Mathematics, 31.10.2020 04:50