Hi Sir! Can't sleep... already got headache... im about to sleep when i suddenly thought of this.
import java.io.*;
public class Asterisk1
{
public static void main(String jpg[])
{...
Type: Posts; User: javarum
Hi Sir! Can't sleep... already got headache... im about to sleep when i suddenly thought of this.
import java.io.*;
public class Asterisk1
{
public static void main(String jpg[])
{...
there's no tomorrow. hehe! ill fail this assignment. hehe! but ill be better for the next homework. geesh. Thanks Sir! Night!
By the way, SIR Thanks so much your time.
cant i have the answer from you? not far from what is my script before? i promise to be better next week. i just need to pass this later on. =(
i just need the script for this outputs
*...
cant understand that. pitty on me
im about to give up... geesh. i know this is too easy but im to newbie for this... not enough time. need to pass this later. ouch. =( and i dont have sleep yet.
Sir back to my question cause i didnt understand what youve answered for that. ehehe!
Is every false statement goes after } ?
ehehe. just want to make a new line after printing the last * but it is wrong too. hayyayayay. im near to surrender
can i do this?
}
System.out.print("*");
System.out.println();
}
i gave a value of 5 to x so if then it goes back to that statement with an increment it will goes false and print an *s because the value of n is no longer equalled or greater than the value of x.
...
arghhhh.... can't help myself...
import java.io.*;
public class Asterisk1
{
public static void main(String jpg[])
{
int n=5;
for(int x=5; x<=n; x++)
{
Sir, every false statement will move to the >>>} System.out blah blah right?
hey sir Norms,
the codes you post on post #12 it will shows an output like my 2nd output right?
another hint pls. ^_^
its hard to print spaces before the *s.
as what you thaught me, this is how to print a space > System.out.print(" ");
what do you mean bout this Sir?
One print x spaces: what is the code for that? <<< for(int x=1; x<=n; x++)...
another hint pls hehe
hmmm.. like for the statement of the x is false it will print space?
and then if the statement of y is true it wil print *s?
ohhh... =( need to get food im hungry.. my brain is not working.
...
Yes ir. i tried to add this already but nothing happens. ehehe! i dont know where to put it exactly. =(
Number of spaces and *'s change every new line. and i dont know what is the exactly statement or new line command for printing an empty space. i don't know how to make it print 4 spaces and then 1 *...
wow! you just make that so fast?! great! sir norms. my instructor might want the script to be as almost the same as what ive posted above... hmmm. i cant explain exactly since im not that good in...
if you look at the 1st and 2nd output, mirrored view. thats what i need to do. i know you are trying to push me to make it for myself coz its too easy and i realy wanted to. but, the problem is its...
ah just changing values of x and y and playing on increment and decrement. but fails me. do i need to add another system.out.print(); ? so that if a statement is true or false it will print an empty...
hi sir norms! sadly, not yet. hai... pls.