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 is the ordered pair rule?
Is this how you do it ?
Can a right triangle also be obtuse? Explain your reasoning. yes; By the Exterior Angle Theorem, If one of the exterior angles is obtuse, then it is possible f
y=-4x+5 how can i know its parrelle or not with y=-4x-2
Which statement best explains how exposition helps a playwright develop social issues in a play? Exposition develops social issues by showing how the characters
99 POINTS!!!!!!!!Tyler’s family is using a shipping trailer that is 5 feet tall, 4 feet wide, and 12 feet long to load boxes of apples in. Each box the apples a
A couple with inability to conceive has fertility testing. The semen specimen is tested for volume, count, motility and a differential is calculated. The findin
If you are 20 years old, you have been alive for about 630 , 000 , 000 seconds. Write this number in scientific notation.
I suck at math lol thank you
Thiobacillus denitrificans is a species of bacteria that obtains its energy from carbon dioxide and inorganic compounds such as nitrogen in its environment. It