write a JavaScript code to print square of accepted number using function
Answers
Answered by
1
import java.util.*;
public class hello
{
public static void main ()
int i =1
Scanner sc=new Scanner(System.in);
System.out.println("the answer is ");
while(i<=10)
{
i++;
System.out.println(i);
}
}
}
Click to let others know, how helpful is it
0.0
Similar questions
English,
6 months ago
Environmental Sciences,
6 months ago
English,
1 year ago
Science,
1 year ago
Math,
1 year ago