Qbasic is out of date. Try using a better programming language (eg Python), where you can learn about advance data structures like arrays/hashes/collections and much more.
print "%-15s%-15s%-15s%-15s" %("Activity","15 min","30 min","60 min")
f=open("file")
f.readline() # get first line
for line in f:
act, t=line.rstrip().split()
print "%-15s%-15s%-15s%-15s" %( act,float(t)*15,float(t)*30,float(t)*60 )
f.close()
output
C:\test>python test.py
Activity 15 min 30 min 60 min
Sleeping 34.5 69.0 138.0
Jogging 225.0 450.0 900.0
Sitting 25.5 51.0 102.0
If you insist on something from M$, try learning vbscript instead.