// javascript
const solution = (num1, num2) => {
return Math.round(num1 % num2);
}
// typescript
const solution = (num1:number, num2:number):number => {
return Math.round(num1 % num2);
}
// javascript
const solution = (num1, num2) => {
return Math.round(num1 % num2);
}
// typescript
const solution = (num1:number, num2:number):number => {
return Math.round(num1 % num2);
}