In our studio we design high quality polygonal 3d models for CNC machines or 3d printers according to your preferences.
Vendor: 3d-39054
Category: CHARACTERS
Reminder!
Order delivery time is 5-7 working days after payment
The link is sent to your email or messenger
fisherman ); // *************** // // CHALLENGE // // *************** /* Create a function named showProtagonist that takes in a number and returns the corresponding protagonist from the CHARACTERS constant. If the number is not valid, return the string "Invalid Protagonist" */ function showProtagonist(num) { switch (num) { case 1: return CHARACTERS.farmer; case 2: return CHARACTERS.warrior; case 3: return CHARACTERS.wizard; case 4: return CHARACTERS.sorceress; case 5: return CHARACTERS.monk; case 6: return CHARACTERS.fisherman; default: return "Invalid Protagonist"; } } console.log(showProtagonist(1)); console.log(showProtagonist(2)); console.log(showProtagonist(3)); console.log(showProtagonist(4)); console.log(showProtagonist(5)); console.log(showProtagonist(6)); console.log(showProtagonist(7));
for CNC and 3D printers.