Question: Question 4 A. a) Create a numeric array called numbers to store 10 self-defined integer numbers by b) Create an array named mySuperHeroes by using

Question 4 A. a) Create a numeric array called numbers to store 10 self-defined integer numbers by b) Create an array named mySuperHeroes by using [ to store your favourite three c) Create an array to store your own personal details like name, gender (Male/ Female) using array () function. super heroes age, weight (in kg) and height (in cm). Name this array as your name in camel case naming. d) Create an associative array to store the following data: Key Value JH Johor KH Kedah KN Kelantan KLKuala Lumpur LA Labuan ME Melaka NS Negeri Sembilan PH Pahan PK Perak PL Perlis PG Pulau Pinan PJ Putrajava SASabah SK Sarawak SL Selangor TE Terengganu Save the document as ArrayCreations.php Write a server script to display array elements for all the arrays that created in Question 1 (a to d) by using a) while loop b) foreach loop Save the document as ArrayOutput.php Define an associative array for days of the week. The format as showing in below 1: Monday, 2: Tuesday, ..., 7: Sunday Output all elements into an unordered list Save the document as DaysOfWeek.php Assume, $str"gdujogfjemiztksyawxrnlbhbzfpdetpovsyxeqhbgkncarklol" Count the letter of occurrence in the string above and display the findings. Save the document as CountLetters.php
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
