Restructuring
This commit is contained in:
		
							
								
								
									
										13
									
								
								solutions/Generic/FIZZBUZZ/solve.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								solutions/Generic/FIZZBUZZ/solve.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| <?php | ||||
| for($i=1; $i<=100; $i++) { | ||||
| 	if($i % 3 == 0) { | ||||
| 		print "Fizz"; | ||||
| 	} | ||||
| 	if($i % 5 == 0) { | ||||
| 		print "Buzz"; | ||||
| 	} | ||||
| 	if($i % 3 AND $i % 5) { | ||||
| 		print $i; | ||||
| 	} | ||||
| 	print PHP_EOL; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user