write a JavaScript code to print all the odd number from 11 to 30
Answers
Answered by
1
Answer:
function generate_random_odd(min,max){
var num = Math.floor(Math.random() * (max - min)) + min;
if((num % 2) == 0){
return num + 1;
}
else {
return num;
}
}
document.getElementsByTagName('h1')[0].innerHTML = generate_random_odd(20,70);
Explanation:
Mark me as Brainliest
Answered by
0
Answer:
11,13=17,19 23,29
Explanation:
it is right answer mark me as a brainlist and give thanks
Similar questions