Advertisement
Spocoman

07. Projects Creation

Aug 22nd, 2024
79
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 projects = Number(input[1]);
  4.  
  5.     console.log(`The architect ${name} will need ${projects * 3} hours to complete ${projects} project/s.`);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement