WAP to print the square and cube of the numbers from 4 to 10 in reverse
order next loop
Answers
Answered by
0
Answer:
class xyz
{
void x
int w,v
{
for (int i =4; i<=10; i++)
{
int w = i*i
int v = i*i*i
System.out.println (w,v);
}
}
}
Explanation:
class xyz
{
void x
int w,v
{
for (int i =4; i<=10; i++)
{
int w = i*i
int v = i*i*i
System.out.println (w,v);
}
}
}
Similar questions