- Time Left 0 53 Write A C Program That Takes An Arithmetic Expression Given As A String As The Input And Shows The Resu 1 (181.42 KiB) Viewed 41 times
Time left 0:53 Write a C program that takes an arithmetic expression (given as a string) as the input and shows the resu
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Time left 0:53 Write a C program that takes an arithmetic expression (given as a string) as the input and shows the resu
Time left 0:53 Write a C program that takes an arithmetic expression (given as a string) as the input and shows the result of that arithmetic expression as the output. Note that the arithmetic expression can contain only digits, and addition, subtraction, multiplication, and division operators. Example Input 1: Expression: 8 + 12 / 8 + 6 * 10 Example Output 1: 69.50 Example Input 2: Expression: 5 + 6/6* 8 + 9 + 11 / 10 Example Output 2: 23.10