0% found this document useful (0 votes)
11 views6 pages

1) Write A PHP Program To Calculate Highest Number Among Three Numbers

The document contains a series of programming tasks in PHP, including calculating the highest number among three numbers, using logical operators, checking if a number is positive or negative, and utilizing if conditions with foreach loops. Additionally, it includes tasks for displaying star patterns and printing the first 30 even numbers using different looping constructs. Each task is numbered for easy reference.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views6 pages

1) Write A PHP Program To Calculate Highest Number Among Three Numbers

The document contains a series of programming tasks in PHP, including calculating the highest number among three numbers, using logical operators, checking if a number is positive or negative, and utilizing if conditions with foreach loops. Additionally, it includes tasks for displaying star patterns and printing the first 30 even numbers using different looping constructs. Each task is numbered for easy reference.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

1) Write a PHP program to calculate Highest number among three numbers.

1
2) Write a program to make the use of logical operators.

2
3) Write a program to check no is positive or negative.

3
5) Write any program using if condition with foreach loop

5
6) Write a program to display pyramids of star/patterns using increment/ decrement. * **
*** **** ***** * ** *** **** ***** * ** *** **** *****

6
7) Write a program to print first 30 even numbers. (Using while, do…while)

You might also like