Write Java program that generates the Fibonacci sequence in the child process.
The number of the sequence will be provided in the command line. For example if 10 is provided,
the fibonacci numbers less than 10 will be output by the child process. Because the parent and the child processes
have their own copies of the data, it will be necessary for the child to output the sequence.
Perform necessary error checking to ensure that a valid number is passed on the command line.

Output should show following six test cases
$ fib 10
0, 1, 1, 2, 3, 5, 8

$ fib 15
0, 1, 1, 2, 3, 5, 8, 13

$ fib 0
Please input an integer number greater than 0

$ fib -3
Please input an integer number greater than 0

$ fib x
Please input an integer number greater than 0

$ fib
Please input an integer number greater than 0

jwenting commented: lazy homework kiddo -3

what have you got so far? this is not a 'code on demand' forum.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.