samarabdalla137468g samarabdalla137468g
  • 14-03-2021
  • Computers and Technology
contestada

Perform the operation (2x+3y)/2y (accept the values for x and y through input commands)

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 19-03-2021

Answer:

In Python:

x = int(input("x: "))

y = int(input("y: "))

Result = (2 * x + 3 * y)/(2 * y)

Print(Result)

Explanation:

Get input for x

x = int(input("x: "))

Get input for y

y = int(input("y: "))

Calculate the expression

Result = (2 * x + 3 * y)/(2 * y)

Print the result of the expression

Print(Result)

Answer Link

Otras preguntas

Why are folded membranes an advantage?
Which answer summarizes the main argument between the Federalists and Anti-federalists during the Constitutional Convention? (5 points) They argued about federa
The rigid, outer layer of Earth is referred to as the asthenosphere. a. True b. False
Mexico City's most pressing environmental issue is A) mountain erosion. B) dangerous air pollution. C) erosion along the coastline. D) cutting down of the ra
what is the unit rate for the better deal of 25gallons for $56 or 15 gallons for $32.05
What are all the common factors of 24,64,88
South America is dominated by what sub-group of Christianity?
Which of the following descriptions best summarizes the pax romana A. a slave who earned his freedom. B. one of the wealthiest men in Rome C. a member of a loc
What tense is the underlined verb in the sentence? By then, "I will have telephoned" all my friends to see if they are going. A. present perfect B.
If the sphere shown above has a radius of 4 units, then what is the approximate volume of the sphere? A. 334.93 cubic units B. 21.33 cubic units C. 1