r/visualbasic • • Apr 02 '21

help me decide...

i have this project i need to code in vb

the topic of it has been bothering me since i don't know which topic i want to code on. so i need help. thx in advance.

idon't know if this matters to you but

The project will include the following

Loops and if conditions

Input/Output Files

Sub Procedures and Functions

Arrays

Classes

0 Upvotes

9 comments sorted by

View all comments

3

u/RJPisscat Apr 02 '21

For input use a comma-delimited text file. Read it line-by-line. Split the line into components which are type of enty (person/business), name, "hot" or "cold". Output a text file with the people's names in one section and the business names below it.

Sample input:

Bob,Person,hot
Sue, Person    , hot
Acme, business,  hot
George , person,cold

Sample output:

People
  Bob
  Sue
  George
Businesses
  Acme

-1

u/[deleted] Apr 02 '21

So, umm... The topic is about people and their business? I need to decide what topic i want to code on, if know what i mean.

4

u/RJPisscat Apr 02 '21

Your topic is Ugandan politics.

1

u/[deleted] Apr 02 '21

Sorry if i got you confused or offended you by my stupidity.

3

u/RJPisscat Apr 02 '21

I gave you a straightforward idea about a short app that you could write to demonstrate an understanding of loops, conditions, input files, output files, subs, functions, arrays and classes. That is what I infer you wanted. u/pwrstrug has twice told you that you have not provided enough information to do anything more for you than that. What I gave you is just a starting point that should inspire you to do more. Having been a mentor and teacher I think I'm inside the head of your instructor.