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

Why would an author would use humor/satire in a text?
The terminal point of 0 is (|3/2, 1/2). What is 0 if 0 <\ 0 < 360? A. 60 B. 30 C. 45 D. 15
Most individuals diagnosed with type 1 diabetes have an increased probability of having inherited the disease from both parents. additionally caucasians have th
The amount of time it takes for a student to complete a statistics quiz is uniformly distributed between 30 and 60 minutes. One student is selected at random. F
1. Yes, AA~ 2. These figures are not similar 3. Yes, SAS~ 4. Yes, SSS~
Convert 5gm into quintal​
What is the measure of angle 2?
Social security number is an example of a.a numerical variable. b.a categorical variable. c.either a numerical or a categorical variable. d.a semi-structured va
Which represents the inverse of the function f(x) = 4x? h(x) = x + 4 h(x) < - 4 h(x) = h(x) = 4
Heyy can someone help me as fast as they can plzzzz