Computer Science, asked by JayasishSaha69, 4 days ago

Write a program to find the value of (X + Y)² QBasic.​

Answers

Answered by warrior550ny
1

Explanation:

Cls

Input "Enter the value of u"; u

Input "Enter the value of v"; v

Input "Enter the value of a"; a

Let s = (v * v - u * u) / (2 * a)

Print "Value of s = "; s

End

OUTPUT

Enter the value of u ? 20

Enter the value of v ? 30

Enter the value of a ? 5

Value of s = 50

Similar questions