EduPadi logo
Home Pricing Free Resources
Blog
For Schools Get started

Pass IELTS, JAMB, WAEC, & more with EduPadi CBT App

Practice questions, get instant scores, understand solutions with smart AI insights, and track your progress.

Explore EduPadi App…

Explain the purpose and usage of the DATA and R...

Explain the purpose and usage of the DATA and READ statements in BASIC programming.

The DATA statement in BASIC is used to define a list of data values that the program can read using the READ statement. This approach allows the program to store data in a structured format. For example:

DATA 10, 20, 30, 40, 50

The READ statement can then be used to retrieve these values sequentially and assign them to variables.