Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $numero = 10;
- if ($numero > 0) {
- echo "Positivo";
- } else if ($numero < 0) {
- echo "Negativo";
- } else {
- echo "Número é zero";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement