Question: List months _ list is created with four integers read from input. Output the fourth element plus the third element minus the first element multiplied

List months_list is created with four integers read from input. Output the fourth element plus the third element minus the first element multiplied by the second element.
Click here to show example
Ex: If the input is:
7
2
4
0
then the output is:
-10
list(sum)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!