Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function sumHours(input){
- let name = input[0];
- let hours = 3;
- let projects = Number(input[1]);
- let sum = projects * hours;
- console.log(`The architect ${name} will need ${sum} hours to complete ${projects} project/s.`);
- }
Advertisement
Add Comment
Please, Sign In to add comment