0
Help!! SOS
Please what does this mean: var age = parseInt(readLine(), 10)
7 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
0
Solomoni Railoa didnt work out
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");