Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,861,720 members, 6,865,428 topics. Date: Monday, 16 May 2022 at 03:31 PM

Qbasic Programming. - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Qbasic Programming. (612 Views)

Learn Qbasic Programming Language In 14 Days / I Need Assitance On Qbasic Programming Language / Qbasic On Windows Xp (2) (3) (4)

(1) (Reply)

Qbasic Programming. by yugoboy: 3:28pm On Apr 08, 2011
someone please help


Develop a program that reads in a list of records,with each record containing a name,age, and sex(m or f).
The program should select and print the records of the following, with appropriate headings:

A) i) persons who are over the age A.
ii)persons under the age B.
iii) all males between the ages A and B, where A and B are input values.

B) Modify the program in (A) to allow the user to make the combination for selection that he or she wants.

The following data should be used in this exercise:

700 DATA "ENOCH,D.N.", 40, "M"
710 DATA "UZOMA,A.N", 12, "M"
715 DATA "BLESSING,E", 35, "F"
720 DATA "ADA,O.C", 3, "F"
725 DATA "UCHE, C.N.", 11, "M"
730 DATA "IJEOMA, N.", 10, "F"
735 DATA "HASTRUP, J.P.", 25, "F"
740 DATA "ABIMBOLA, N.F.",60, "F"
745 DATA "FRANCIS, N.U.", 45, "M"
750 DATA "USMAN, A.A.", 10, "M"
780 DATA "OLA, P.C.", 37, "F"
790 DATA "IKE, C.D.", 4, "M"
795 DATA "HENRY, N.", 78, "M"
800 DATA "NKEM, A.B.", 21, "F"
810 DATA "AFAM, B.D.", 55, "F"
820 DATA "DIKIBO, S.N.", 18, "M"
830 DATA "IHEOMA, R.V.", 68, "F"
835 DATA "JOHN, A.", 28, "M"
840 DATA "ADAMU, R.V.", 60, "M"
850 DATA "ARETHA, C.B.", 75, "F"

_____________________________________PLEASE WE NEED YOUR HELP URGENTLY!!!!___________________________

1 Like

(1) (Reply)

Finite Element Codes / CISE Certification / How To Design An API That Creates Something

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2022 Oluwaseun Osewa. All rights reserved. See How To Advertise. 43
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.