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

The bottom layer in the osi model the ____ layer handles the transmission of bits over a communications channel.
Fill in the blank with the correct pronoun. Mis amigas leen mucho. ______ les gusta la serie de Harry Potter. A. Ustedes B. Ellas C. Ellos D. Nosotros
The earth's differentiation and size were significant factors for life on Earth because Earth's composition and gravitational attraction _____.A: keep the moon
h(x)=x-12/4 find the inverse function
what thing is same between Eukaryotes and prokaryotes?( Cell organelle ) i think presence of mitochondria is same? right? ( is grammar ok?) please answer all
If it is determined that the victim has no pulse and is not breathing the next step should be?
what is the main reason for the development of government in early river valley civilizations
Why does creon believe that he has the right to the throne of Thebes?
what is the solution? y=x+5 y=-2x-1 a. (0,5) b. (-2,-1) c. (-2,3) d. (0,-1)
What is the greatest common factor of the monomials