write a program in javascript to print first 10 numbers using do while loop
Answers
Answered by
2
Scanner sc=newScanner(System.in) ;
int i=10;
do
{
System.out.println("enter a number");
int a=sc.nextInt();
System.out.println(a);
}
while(i!=11)
Similar questions