Help!! SOS | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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
3 Answers
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