Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $pocket_change = 12000;
- $cost_bmw = 11000;
- $color_choice = 'red';
- if($cost_bmw <= $pocket_change){
- if($color_choice == 'red'){
- echo 'My Girlfriend will ride with me!';
- }else{
- echo 'My Boyfriend will ride with me!';
- }
- }else{
- echo 'I could only afford a Honda.';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement