answersLogoWhite

0

How do you write a php algorithm?

User Avatar

Anonymous

13y ago
Updated: 8/19/2019

Well if you know php then you can write your own algorithm

php syntax is

<?php //open php tag

$num = 1;

$num2 = 2;

$total = $num + $num2;

echo $total;

?> //close php tag

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is php extension?

We can write php extension is many way... .php , .php5, .php4


What is algorithm to write algorithm to the program to access a pointer variable in structure?

Here is the algorithm of the algorithm to write an algorithm to access a pointer in a variable. Algorithmically.name_of_the_structure dot name_of_the _field,eg:mystruct.pointerfield


What is PHP enabled host?

A host that allows you to write in PHP


Write an algorithm to find the root of quadratic equation?

Write an algorithm to find the root of quadratic equation


How do you write hello world in PHP?

&lt;?php echo "Hello world"?&gt;


A Write the algorithm to concatenate two given strings?

a write the algorithm to concatenate two given string


How do you add a comment in PHP?

&lt; ?php // This is an example of comment in PHP /* This is another example of comment in PHP and we can write comments in multiple lines using this method */ ? &gt;


How do you write an Algorithm for a C plus plus Program?

You don't write an algorithm for a C++ program, unless you are documenting the C++ program after-the-fact. The normal procedure is to write the algorithm first, in a language independent fashion, and then translate that stated algorithm into C++ code, or into whatever language you wish.


Write an algorithm to check whether a number is a prime number or not?

You can write out this algorithm. This will then be programmed into the device to make determining prime numbers easier.


Design step by steps algorithm on how to write the letter A and display the result?

Design step by steps algorithm on how to write the letter A and display the result


What is algorithm write properties of algorithm?

An ALGORITHM is a sequence of steps that depicts the program logic independent of the language in which it is to be implemented. An algorithm should be designed with space and time complexities in mind.


How do you write a structured algorithm an a flowchart to calculate and the average of ten scores?

how to write a structured algorithm that input the name and price of an item and quantity and amount