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

652-06-01-01-00_files/i0190000.jpg What has rubbing done to the charges on the objects shown in diagrams A and B?
how did the issue of slavery affect texas' request to become a state?
This 1925 book by Adolf Hitler was written while he was in prison, outlining his racial and political beliefs.
Neural impulses reach the brain from the eye through the?
What percentage of persons infect with HIV are totally unaware that they have the disease?
It costs less to purchase a used car than a new car because 1.used cars are less stylish. 2.options cannot be chosen on a used car. 3.used cars are more likely
how does the movement of particles of matter change when temperature increases? (1 points) decreases. increases. increases then decreases. does not
6-y=-y+2 what does y equal or is it no solution
the purchase price of a camcorder is $640. What is the total price if the sales tax rate is 8.5%?
What are all the systems involved with getting oxygen to your cells?