2022-02-09

Feb 9 In-Class Exercise.

Please post your solution to the Feb 9 In-Class Exercise to this thread.
Best,
Chris
Please post your solution to the Feb 9 In-Class Exercise to this thread. Best, Chris

-- Feb 9 In-Class Exercise
Hello
<?php
function yourName() {
   echo "Neenu Antony\n";
}
yourName(); ?>
(Edited: 2022-02-09)
Hello <?php function yourName() { echo "Neenu Antony\n"; } yourName(); ?>

-- Feb 9 In-Class Exercise
Hello <?php function yourName() {
   echo "Cheng-En Sung\n";
} yourName();
(Edited: 2022-02-09)
Hello <?php function yourName() { echo "Cheng-En Sung\n"; } yourName();

-- Feb 9 In-Class Exercise
Hello
<?php function yourName() {
   echo "kaushik Pilligundla\n";
}
yourName(); ?>
Hello <?php function yourName() { echo "kaushik Pilligundla\n"; } yourName(); ?>

-- Feb 9 In-Class Exercise
Hello <?php function yourName(){
        echo "Nishanth\n";
} yourName(); ?>
Hello <?php function yourName(){ echo "Nishanth\n"; } yourName(); ?>

-- Feb 9 In-Class Exercise
<!DOCTYPE html> <html> <body>
Hello,
<?php echo yourName();
function yourName(){
	return "Gokul";
} ?>
</body> </html>
<!DOCTYPE html> <html> <body> Hello, <?php echo yourName(); function yourName(){ return "Gokul"; } ?> </body> </html>

-- Feb 9 In-Class Exercise
Hello
<?php
function yourName(){
    echo "Gargi";
}
yourName();
Hello <?php function yourName(){ echo "Gargi"; } yourName();

-- Feb 9 In-Class Exercise
Hello <?php function yourName() {
   echo "Atharva Sharma\n";
} yourName();
Hello <?php function yourName() { echo "Atharva Sharma\n"; } yourName();

-- Feb 9 In-Class Exercise
Hello <?php function yourName() {
   echo "Archit Jain\n";
} yourName(); ?>
Hello <?php function yourName() { echo "Archit Jain\n"; } yourName(); ?>

-- Feb 9 In-Class Exercise
Hello,
<?php
function yourName()
{
echo "Damanpreet Kaur";
}
yourName();
(Edited: 2022-02-09)
Hello, <?php function yourName() { echo "Damanpreet Kaur"; } yourName();
[ Next ]
X