<?php

$moneyAmount = 120;

$drinks = [
	"капучино" => 150,
	"эспрессо" => 80,
	"воду" => 20,
	"американо" => 55
];

$canBuyAnything = false;

foreach($drinks as $name => $price) {
	if($moneyAmount >= $price) {
		print("Вы можете купить " . $name . "\n");
		$canBuyAnything = true;
	}
}

if(!$canBuyAnything) {
	print("Недостаточно средств :(");
}



