using System;
class Program
{
static int roundUpToNearest10(double num) {
return (int)Math.Ceiling(num / 10) * 10;
}
static void Main() {
Console.WriteLine(roundUpToNearest10(33));
Console.WriteLine(roundUpToNearest10(59));
Console.WriteLine(roundUpToNearest10(599.99));
Console.WriteLine(roundUpToNearest10(3.14));
Console.WriteLine(roundUpToNearest10(2));
Console.WriteLine(roundUpToNearest10(19));
Console.WriteLine(roundUpToNearest10(-12));
Console.WriteLine(roundUpToNearest10(-101));
Console.WriteLine(roundUpToNearest10(-109));
}
}
/*
run:
40
60
600
10
10
20
-10
-100
-100
*/