Skip to content

Instantly share code, notes, and snippets.

@kovalevcon
kovalevcon / solution.php
Created August 13, 2019 18:58
https://funpay.ru/job.html - тестовое задание
<?php
/**
* Parse yandex SMS
*
* @param string $msg
* @return array
*/
function parseYandexSMS(string $msg): array
{
#!/bin/bash
# enter your function code here
function ENGLISH_CALC {
case $2 in
"plus") echo "$1 + $3 = $(($1 + $3))";;
"minus") echo "$1 - $3 = $(($1 - $3))";;
"times") echo "$1 * $3 = $(($1 * $3))";;
esac
}