i must say all characters except from 0-9/numbers should be invalid.
Type: Posts; User: javarum
i must say all characters except from 0-9/numbers should be invalid.
how can i declare that the value entered is invalid? it now can say ODD, NEGATIVE, EVEN, ZERO
import java.io.*;
public class A
{
public static void main (String arum[])throws IOException{...
hmmm.. i use this?
a=Integer.valueOf(String);
i cant help myself...
import java.io.*;
public class A
{
public static void main (String arum[])throws IOException{
BufferedReader tag=new BufferedReader (new InputStreamReader(System.in));
oh i see Optical Character Recognition.... thanks for all! ^_^
OCR? and what OCR stands for sir? =)
Thanks Sir Norms and Helloworld =)
yes sir Norms the ordinary scanner produces the image from the scanned page. For example, im scanning my resume and after scanning, a program will read all the...
to make a program that will scan a curriculumn vitae or any document (resume, profile, etc. etc.) using an ordinary scanner, and after scanning... all informations from that document will be...
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