Thread: Question
View Single Post
  #8 (permalink)  
Old 05-18-2008, 05:07 PM
sukatoa's Avatar
sukatoa sukatoa is offline
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 518
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
Quote:
int excellent;
int low;
int poor;
int verygood;
int good;
int nosignal;
you may initialize first some values above.

Quote:
System.out.println("Please enter x1");
System.out.println("Please enter x2");
You may read Scanner class for capturing inputs from keyboard... nextInt() method may fit your needs

Quote:
System.out.println("your type of signal is:");
How about concat(String s) method?

eg. System.out.println("Signal type is".concat(y));

or System.out.println("Signal type is"+y);
or System.out.printf("Signal type is %s\n",y); C type
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by sukatoa : 05-18-2008 at 05:11 PM.
Reply With Quote