Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function convert(inches) {
- let feet = Math.floor(inches / 12);
- let remainderInInches = inches % 12;
- console.log(`${feet}'-${remainderInInches}"`);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement