- 2
How to work both functions at the same time.
Help me please 🥺
7 Respostas
+ 2
Do you mean executing two functions at the same time?
Do you have an exemple of what you are trying to do?
0
function main() {
var distance = parseInt(readLine(), 10);
//ваш код
var distance =40;
minut=590;
let x= (590/40*60);
console .log(x)
}
function main() {
var distance = parseInt(readLine(), 10);
var distance =40;
minut=100;
let y=(100/40*60)
console .log(y)
0
What you can say about my code?
0
if you have two function with the same name, the first one will be overritten.
try giving it a different name
0
Thanks so much.
0
I didn't think.
- 1
Yes l do.