Find Jobs
Hire Freelancers

write some simple php/ java script code

$10-30 USD

Terminado
Publicado hace más de 7 años

$10-30 USD

Pagado a la entrega
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]
ID del proyecto: 11736960

Información sobre el proyecto

7 propuestas
Proyecto remoto
Activo hace 8 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
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 en 1 día
4,8 (59 comentarios)
5,0
5,0
7 freelancers están ofertando un promedio de $96 USD por este trabajo
Avatar del usuario
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 en 3 días
4,9 (23 comentarios)
3,6
3,6

Sobre este cliente

Bandera de TRINIDAD AND TOBAGO
Trinidad and Tobago
5,0
9
Miembro desde jun 23, 2015

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.