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 are some facts about Themistocles of Greece?   I know he was an Athenian general and politician. I have a project for history where I need to act JUST LIKE
Explain why animals must eat food, but plants do not have to.
Put these in order from least to greatest 6.4 kg 640 g 600,000 mg
A park is in the shape of a rectangle 2 miles long and 1.5 miles wide. How much shorter if you walk diaganolly across the park rather than along two sides?
rachel told mariana that if she rolls two number cubes 100 times she will never get a product of 23 mariana toldbher that she cant be sure. whos right? explain
How do u write 6 tenths in simplest form
list two ways that American Indians and European colonists were allies
How do parents pass their traits down to their offspring?
How do parents pass their traits down to their offspring?
On a map what do black dots usually represent?