Write a program to find the value of (X + Y)² QBasic.
Answers
Answered by
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
Math,
2 days ago
Hindi,
2 days ago
Chemistry,
2 days ago
Environmental Sciences,
4 days ago
Math,
8 months ago