25th Dec 2021, 7:12 AM
Jaspreet Singh
Jaspreet Singh - avatar
2 ответов
+ 1
var name = window.prompt("What is your name"); var gender = window.prompt("What is your gender"); var time = window.prompt("How many days do you want to stay?"); var total; var tax; var dis; Like that, change text to something you want, like "what is your gender. (Male/Female)" if needed, do that also to variable total, tax and dis
25th Dec 2021, 7:26 AM
Jonathan P. Jundarino
Jonathan P. Jundarino - avatar
0
window.prompt("What is your name"); window.prompt("What is your gender"); window.prompt("How long"); Change your variable value to that, you should know what I mean
25th Dec 2021, 7:22 AM
Jonathan P. Jundarino
Jonathan P. Jundarino - avatar