+ 2
In which data type should I store "*"?
In which data type should I store "*"? I want to make little pattern program.
10 Antworten
+ 5
Then use String!
+ 6
For pattern program don't store "*"!
Tell me what you need to do!
+ 6
https://code.sololearn.com/czJavHarLMl8/?ref=app
Like these?
+ 6
As you can see "*" is so simple, you just avoid the hassle and use that instead of a variable!
+ 5
char if C++,C#,Java
+ 2
It's saying that chat can not be converted to String. I am using System.out.printl
+ 2
Thanks it worked. I just want to try and make little pattern program. I guess thats called pattern program. For example little triangle with for loop.
+ 2
Yes :)
+ 2
Yes I got that. Thanks a lot!
+ 1
I want to make any shape, as I want to just try first.