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

What does m and b stand for in y=mx+b?
A function is created to represent the balance on a credit card each month. What restrictions would be made to the range?A)The range would only include integers
What is the primary source of the electrons used in the mitochondria? A. Water B. Glucose C. ATP D. Cellulose E. Oxygen
candice bought 3 shirts. Each shirt cost the same amount and was discounted by 3.66. Candice paid a total of 62.31 before tax. How much did each shirt cost befo
What is a polygon with 12 equal sides called?
Are all equilateral triangle acute triangles?
Most of the newspaper (was,were) placed in the recycling can.
Tanya opened a savings account with a deposit of 550.she deposited 450 and withdrew 120.yesturday, Tanya deposited 720 into her account. What percentage of the
What is a polygon with 12 equal sides called?
Are all equilateral triangle acute triangles?