Advertisement
Didart

Projects Creation

Mar 4th, 2022
600
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function projectsCreation(input) {
  2. let name = input[0];
  3. let countProjects = Number(input[1]);
  4. let neededHours = Number([countProjects * 3]);
  5.  
  6.     console.log(`The architect ${name} will need ${neededHours} hours to complete ${countProjects} project/s.`);
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement