In QBASIC, you can use the INPUT statement to read data for your name, age, and address. Here's a simple program example:
<code class="language-basic">DIM name AS STRINGDIM age AS INTEGER DIM address AS STRING
INPUT "Enter your name: ", name INPUT "Enter your age: ", age INPUT "Enter your address: ", address
PRINT "Name: "; name PRINT "Age: "; age PRINT "Address: "; address
</code>
This program prompts the user to enter their name, age, and address, then prints the collected information.
Copyright © 2026 eLLeNow.com All Rights Reserved.