Results 1 to 3 of 3
  1. #1
    satheeshtech is offline Member
    Join Date
    Jul 2009
    Posts
    18
    Rep Power
    0

    Default write a program to generate a series using runtime parameters

    Hi all..
    How to write a program to generate a series using runtime parameters
    1-2+3-4+5....

  2. #2
    jforce93 is offline Member
    Join Date
    Aug 2009
    Posts
    24
    Rep Power
    0

    Default what do you mean?

    by runtime parameters, do you mean getting user input of the first number in the series, and how the numbers change from each number to the next number?

  3. #3
    jforce93 is offline Member
    Join Date
    Aug 2009
    Posts
    24
    Rep Power
    0

    Default

    you can use the Scanner class to get user input, and a loop to calculate the number series

Similar Threads

  1. Generating Fibonacci Series with a Multithreaded Java Program
    By firesauce in forum Threads and Synchronization
    Replies: 1
    Last Post: 10-20-2009, 08:26 AM
  2. I can't fix this runtime error in my program
    By Sinnergy in forum New To Java
    Replies: 5
    Last Post: 02-25-2009, 05:29 PM
  3. is it possible to write program with out thread
    By makpandian in forum Threads and Synchronization
    Replies: 3
    Last Post: 12-21-2008, 06:41 PM
  4. Replies: 1
    Last Post: 11-14-2008, 07:56 AM
  5. Replies: 5
    Last Post: 07-31-2007, 05:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •