PHP ASSIGNMENT


PHP ASSIGNMENT


  PHP Assignment -1



1. Write a script for finding out whether it is an odd number or even number and echo on

 the screen.
2. Write a PHP Script to take 2 variables with specific numeric value of your choice and
 Perform the following operations: Addition, Subtraction, Multiplication and Division using
 switch case. Also echo out the Result on the screen.
3. Write a PHP Script to declare 2 variables with specific numeric value of your choice and
 find out the greater number between the two(Use ternary operator). If the numbers are
 equal, the respective message must appear on the screen.
4.Write a PHP Script to check if the string is palindrome
5. Write a PHP Script to Calculate the Sum of Odd & Even Numbers.
6. Write a PHP Script to Check if a given Integer is Positive or Negative.
7. Write a PHP Script to Read Two Integers M and N & Swap their Values.
8. Write a PHP Script to Accept two Integers and Check if they are Equal.
9. Write a PHP Script to check if the given year is leap year or not and display message.

Click blow link for download  :

 CLICK HERE TO PHP ASSIGNMENT

Or
Php Assignment-1  Link
copy  blow link and paste in url.
https://drive.google.com/file/d/0B1qUbNCjnK7AZzJucTdLNFVRYU0/view?usp=sharing

Comments

Popular posts from this blog

FYBCA CPPM ASSIGNMENT SEM 1

FYBCA SEM 2 C ASSIGNMENT-I