Write a program that reads four double values a, b, c, d and then evaluates the following expression
a * 10.5 + b * 4.4 + (c + d) / 2.2The program should output the result.
Write a program that reads four double values a, b, c, d and then evaluates the following expression
a * 10.5 + b * 4.4 + (c + d) / 2.2The program should output the result.
Sample Input 1:
1
2.5
0
4.4Sample Output 1:
23.5Create a free account to access the full topic