Time left 0:53 Write a C program that takes an arithmetic expression (given as a string) as the input and shows the resu
-
answerhappygod
- Site Admin
- Posts: 899604
- 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!