3 Commits

2 changed files with 27 additions and 5 deletions

View File

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

View File

@@ -0,0 +1,26 @@
<!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>