Find Jobs
Hire Freelancers

write some simple php/ java script code

$10-30 USD

Slutfört
Publicerad över sju år sedan

$10-30 USD

Betalning vid leverans
Write both PHP and JavaScript Code for the following . 1. Create a function called “generateEven” that will return array containing only even numbers between 1 and n. n is passed as a parameter to the function. 2. Write a function called “getSize” that accept an array and display the number of elements in an array. The function should accommodate both indexed and associative arrays. 3. Write a function called “addTo” that will add a value to an array based on the position specified. The function will accept three parameters, the array of values, the value to be entered, and a string which identifies the position. The positions can be either front or back. 4. Write a function called enqueue, that will perform the enqueue operation on an array. The array and the value to be enqueued are supplied as parameters. 5. Write a function called dequeue that will perform the dequeue operations on an array. The function will accept the array as a parameter and return the resulting value. 6. Write a function called addToObj that will accept three parameters, an object, the index location and the value. The function will add the index and its respective value to the object. The function will return the resulting object. JavaScript: Develop a function called “simulateBanking” that will emulate a bank with the following features using only HTML and JavaScript: 7. The user will have two buttons add and remove that will add and remove customers from the queue. 8. The add button will prompt the user to enter the name of the customer who entered the bank. The add will ensure that the customer name is at least 5 characters long. 9. The remove button will remove the next person in line for the queue. The program will confirm with the user to remove the next customer. [hint] 10. After each of the operations above display the current state of the queue on the browser. [We recommend creating an div with an id, and list each customer as an element in a list]
Project ID: 11736960

Om projektet

7 anbud
Distansprojekt
Senaste aktivitet åtta år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
Tilldelad till:
Använd avatar
We are team of excellent developers. We have 2 year experience related to your project field. We can do your project and solve your all problems according to your requirements. We have read your description for projects and we understand what you want so we are confident that we can do it easily in mention time. We assure you that you will be completely satisfy with our work. And after delivering your project if you feel some issue in understanding the projects then we will teach you free until you understand. If you have any question then feel free to ask. We are here for you. Thank you Demon Developer Team
$30 USD Om 1 dag
4,8 (59 omdömen)
5,0
5,0
7 frilansar lägger i genomsnitt anbud på $96 USD för detta uppdrag
Använd avatar
Hi there, We are ready to write yourJava/PHP script code and We are interested in working with you !!! Please feel free to contact us anytime to discuss your project. We look forward to working with you soon. Thanks for your time, Total Engineer's
$15 USD Om 3 dagar
4,9 (23 omdömen)
3,6
3,6

Om kunden

Flagga för TRINIDAD AND TOBAGO
Trinidad and Tobago
5,0
9
Medlem sedan juni 23, 2015

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.