write a program in html to input two numbers and display its even and odd numbers in javascript using loop
Answers
Answered by
1
void main (int a,int b)
{
if (a÷2==0||b÷2==0)
System.out.println ("even num");
else
System.out.println ("odd num");
}
{
if (a÷2==0||b÷2==0)
System.out.println ("even num");
else
System.out.println ("odd num");
}
santanugogoi972:
thanks....but i want this in notepad using JavaScript
Similar questions