3 Commits

2 changed files with 5 additions and 27 deletions

View File

@@ -2,5 +2,9 @@
for ($i = 10; $i >= 1; $i--) {
echo "<h3> $i</h3>";
}
<<<<<<< HEAD
?>
=======
echo $i;
?>
>>>>>>> origin/develop-marcos_assuncao

View File

@@ -1,26 +0,0 @@
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<title>Parcelamento da Loja</title>
</head>
<body>
<h2>Desafio loja virtual</h2>
<?php
for ($i = 1; $i <= 12; $i++) {
if ($i <= 5) {
echo $i . "x - <span style='color: green;'>Sem Juros</span><br>";
} else {
echo $i . "x - <span style='color: red;'>Com Juros</span><br>";
}
}
?>
</body>
</html>