☕ Java Java Program Help

Status
Not open for further replies.
public class Myclass {
public static void main(String [] args) {
String name = "Cute" ;
System.out.println(name) ;
}
}

not sure haha
 
hindi po ganito hehe. pansinin nyo po ung output nya mag fo form sya ng cute pababa gamig asteris
 
hindi po ganito hehe. pansinin nyo po ung output nya mag fo form sya ng cute pababa gamig asteris
 
JavaScript:
for (int row = 1; row <= 10; row++)
{
    for (int star = 1; star <= 10; star++)
    {
        if (star >= row)
        {
            System.out.print("*");
        }
        else
        {
            System.out.print(" ");
        }
    }
    System.out.println();
}

ganyan ba haha
 
Status
Not open for further replies.

About this Thread

  • 48
    Replies
  • 1K
    Views
  • 10
    Participants
Last reply from:
Ve3

Trending Topics

Online now

Members online
1,152
Guests online
1,815
Total visitors
2,967

Forum statistics

Threads
2,288,585
Posts
29,052,619
Members
1,214,192
Latest member
wymsy
Back
Top