public class Square {
public static void main(String[] args) {
int max=5;
for (int i=0;i<max;i++)
Type: Posts; User: Dr.UaE
public class Square {
public static void main(String[] args) {
int max=5;
for (int i=0;i<max;i++)
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
void is an invalid type for the variable Sq
Syntax error on token "(", ; expected
Syntax error on token ")", ;...
can you show me in simple codes please,
thank you for your post
For the first problem, I have tried this code but still wrong!
public class SquareAst
{
public static void main (String [args]){
sq();
I'm having a problem creating the whole code, I don't know how to use math methods to solve these problems..
Yes, also we have to use the main to call the methods.
Hello, I really need some help on some Java programming homework that is due tonight&tomorrow. Here is the homework (3 problems):
1) (Displaying a Square of Asterisks) Write a method...