function roundUpToNearest10(num) {
return Math.ceil(num / 10) * 10;
}
console.log(roundUpToNearest10(33));
console.log(roundUpToNearest10(59));
console.log(roundUpToNearest10(599.99));
console.log(roundUpToNearest10(3.14));
console.log(roundUpToNearest10(2));
console.log(roundUpToNearest10(19));
console.log(roundUpToNearest10(-12));
console.log(roundUpToNearest10(-101));
console.log(roundUpToNearest10(-109));
/*
run:
40
60
600
10
10
20
-10
-100
-100
*/