0

Help!! SOS

Please what does this mean: var age = parseInt(readLine(), 10)

6th Jan 2022, 5:04 PM
Ogu Charles Chukwudi
Ogu Charles Chukwudi - avatar
7 Antworten
0
Solomoni Railoa then how do you solve this using that, You are given a program that takes the age of the user as input. Complete the code to check if the user is an adult, and output to the console the corresponding boolean value. Sample Input 20 Sample Output true Kindly explain. Thanking you in advance
6th Jan 2022, 5:16 PM
Ogu Charles Chukwudi
Ogu Charles Chukwudi - avatar
0
Solomoni Railoa didnt work out
6th Jan 2022, 5:31 PM
Ogu Charles Chukwudi
Ogu Charles Chukwudi - avatar
0
Solomoni Railoa Please what is wrong with this my code?! It keeps saying error ‘fix bug’ 😢😢😢😢😢 Can you help🙏🏿🙏🏿 function main() { var eventExample = readLine(); // function call setReminder(eventExample); } //complete the function function setReminder(eventExample){ console.log("You set a reminder about " + eventExample); } setReminder("workout");
11th Jan 2022, 6:46 PM
Ogu Charles Chukwudi
Ogu Charles Chukwudi - avatar