I wrote the program but it does not give the anwers below can someone help me i have a test
Given a fragment of the program
A=-5
B=-3
PRINT ABS(A-B)/2+ABS(A)*B^2
Choose one answer:
a. -29
b. 226
c. 46
d. 229
e. -44
a. -29 PRINT ABS(A+B)*2-ABS(A)*B^2
b. 226 PRINT ABS(A-B)/2+(ABS(A)*B)^2 c. 46 PRINT ABS(A-B)/2+ABS(A)*B^2
d. 229 PRINT ABS(A+B)/2+(ABS(A)*B)^2
e. -44 PRINT ABS(A-B)/2-ABS(A)*B^2
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.