Question 1 Report
(a) State two BASIC programming keywords.
(b) Write the following equations in BASIC format:
(i) I = PRT/100: (ii) Y= AX\(_2\) +BX+C; (iii) Y= MX + C
(c) Write a BASIC program that accepts mass and volume of a liquid as input from the User.
The program should compute.and display the density of the liquid. Density = mass volume
(a) Two BASIC programming keywords
(Other acceptable keywords: LET, REM, IF, THEN, FOR, END.)
(b) The equations in BASIC format
I = (P * R * T) / 100Y = A * X ^ 2 + B * X + CY = M * X + C(c) BASIC program to compute the density of a liquid
Density is mass divided by volume, \(D = \dfrac{mass}{volume}\).
10 REM PROGRAM TO CALCULATE DENSITY OF A LIQUID
20 INPUT "ENTER MASS"; M
30 INPUT "ENTER VOLUME"; V
40 D = M / V
50 PRINT "DENSITY OF THE LIQUID = "; D
60 ENDEverything you need to excel in your exams