The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 305 Weeks Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
I am in need of some assistance. I have this due by tomorrow and cannot seem to get it started.
Write an application that allows Tom to enter the names of each of his 25 trainers and the number of new members each trainer has enrolled this year. Output is the number of trainers who have enrolled 0 to 5 members, 6 to 12 members, 13 to 20 members, and more than 20 members.
Â
I know an array would be used, but am doing this class online and I do not understand the arrays completely. I think I am making this harder than it should be.
string trainerName
num membersTotal
string PROMPT = "enrolled more than 20 new members"
Â
I am not sure how to use the array or how to write it in? Please let me know what I'm doing wrong.
Â
housekeeping()
output "Enter trainer's name"
input trainersName
return
Â
detailLoop()
output "Enter total new members trainer enrolled"
input membersTotal
if membersTotal <=memberList[SIZE}
output trainerName, memberList[SIZE]
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly