Skip to content

Instantly share code, notes, and snippets.

Nas NastySwipy

Block or report user

Report or block NastySwipy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:14898e3b3f28c203de38c4e9b7ea4353
$vineyard = intval(readline());
$grapеKilograms = readline();
$neededWine = intval(readline());
$numWorkers = intval(readline());
$totalGrape = $vineyard * $grapеKilograms;
$wine = 40/100 * $totalGrape / 2.5;
$remainderWine = $neededWine - $wine;
if($wine >= $neededWine){
echo "Good harvest this year! Total wine: ".floor($wine)." liters."."\n";
View Currency Converter
using System;
class ChangeBuro
static void Main(string[] args)
double money = double.Parse(Console.ReadLine());
string currencyIn = Console.ReadLine();
string currencyOut = Console.ReadLine();
string currencyStr = currencyIn + currencyOut;
You can’t perform that action at this time.