function roundUpToNearest10(num) {
return Math.ceil(num / 10) * 10;
}
console.log(roundUpToNearest10(73));
console.log(roundUpToNearest10(89));
console.log(roundUpToNearest10(999.99));
console.log(roundUpToNearest10(9.197));
console.log(roundUpToNearest10(6));
console.log(roundUpToNearest10(16));
console.log(roundUpToNearest10(-18));
console.log(roundUpToNearest10(-103));
console.log(roundUpToNearest10(-109));
/*
run:
80
90
1000
10
10
20
-10
-100
-100
*/