To Display Positive, Negative or Zero Get link Facebook X Pinterest Email Other Apps October 23, 2019 CLS INPUT "Enter any number"; N IF N > 0 THEN PRINT "The number is positive" ELSEIF N < 0 THEN PRINT "The number is negative" ELSE PRINT "The number is zero" END IF END Get link Facebook X Pinterest Email Other Apps Comments
To Find Area of Circle October 23, 2019 CLS INPUT "Enter radius"; r A = 22 / 7 * r ^ 2 PRINT "Area of circle="; A END Read more
To Find Area of Square October 23, 2019 CLS INPUT "Enter length"; l A = l ^ 2 PRINT "Area of square="; A END Read more
To Find Volume of Cube October 23, 2019 CLS INPUT "Enter length"; l V = l ^ 3 PRINT "Volume of cube="; V END Read more
Comments
Post a Comment