I have a couple of parallel arrays called names and sales. I have the user enter up to 100 salespeople (names, obviously) and their sales. I have no problem ...
I have an array that i wish to looking into and only print something out when the array== another variable, however it seems to print out the statement whatever, am I ...
Hi there, I was hoping for some advice, not really answers as this is part of an assignment. What I have been given is two arrays and I need to multiply the elements in the first with the corresponding value in the second and then save the result into a third array. I am very very new to this and have ...
Hi, I could really use some help, i know it's a simple answer but i can't find it. What i need to do is 1) Take the user entered variable textfield 2) Compare textfield against the string variables held in the English array 3) When it finds a match 4) Return the opposite string variable from the Spanish array 5) If ...
Hi there, I urgently need to find a solution to the following problem. I need to add some scripting so the system will do the following: Request the user's name! If what is entered matches the data held then you are prompted to enter a password. If this value matches as well then you receive a message saying "Welcome". If the ...
Hi guys, I have a new problem with my college project. I have tried and tried but can't understand my text books. I'm hoping for some advice. The program is for an online odering system. It prompts for a user password and displays a list of available items. The program then prompts the user to enter the amount of items that ...
Hi Here is my code what i need to do is create and initalise 4 names for banks,saving,current,e-save and then i need to be able to initialise them with some specific values which can be any thing. I then need to be able to wrie in new banks. I need a code to which will then ask the user if they ...
How do I modify this code so that it rearranges the letters corresponding to their original positions as they related to the numbers? Right now it just prints the letters from a-h after I sort the numbers. The original index position of 15 corresponds the index of h. So when array a is sorted in ascending order, it should display 15H ...
Hello, basically I need to take the first number out of the array, compare the 3 letters after - but there could be up to 6 numbers/ letters before the - in the number. The three letters is a tax code and i need to compare the find whether its a T at the beginning and an m at the end ...