Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function solve(num1, num2, num3) {
- let sum = num1 + num2 + num3;
- console.log(sum === parseInt(sum) ? `${sum} - Integer` : `${sum} - Float`);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement