Question
PHP Please
PHP Please
2nd NOTE: This is only for Repl. Do not make a habit of adding the new line character in your PHP projects.
Put your code below each question comment as shown with the example. */
/* EXAMPLE: 01: output Hello World! as string data */ echo "Hello World!"; echo " ";
/* 02: create a variable called name and set it equal to "Dave " Output the variable */
/* 03: create a variable called num and set it equal to 1984 Output the variable */
/* 04: create a variable called dbl and set it equal to 99.956 Output the variable */
/* 05: create a variable called bool and set it equal to true Output the variable - might not be what you expect! */
/* 06: create a variable called band and set it equal to "Van Halen" Concatenate band and the num variable you created above to output the phrase: "1984 is my fave Van Halen album." */
/* 07: create an array called names. Put the names "Jane", "John", and "Jody" in the array Output "John" from the array */
/* 08: define a constant variable called COURSE. Assign COURSE the value of "INF653" Output the constant variable */
/* 09: Use a compound operator to add 16 to the variable num and output the new value */
/* 10: Use the decrement operator to subtract 1 from the variable num and output the new value */
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started