Advertisement
Btwonu

Untitled

Feb 8th, 2020
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Architect
  2. function solve(input) {
  3.     let name = input.shift();
  4.     let projectCount = Number(input.shift());
  5.     let hoursNeeded = projectCount * 3;
  6.     console.log(`The architect ${name} will need ${hoursNeeded} hours to complete ${projectCount} project/s.`);
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement