Saved Bookmarks
| 1. |
Write a qbasic program to calculate and print the area of a circle after accepting radius from user.hint: area=3.14* radius*radius |
Answer» Answer:This is the required QBASIC program for the question. 10 CLS 20 INPUT "ENTER the Radius: "; R 30 LET A = 3.14 * R * R 40 PRINT "Area of the circle is: " 50 PRINT A 60 END Explanation:
See the attachment for output ☑. |
|