Create a Java class that generates the following 10 numbers (belonging to a number pattern) and displays
Fantastic news! We've Found the answer you've been seeking!
Question:
Create a Java class that generates the following 10 numbers (belonging to a number pattern) and displays 5 values per row
The pattern:
1 1 2 4 7 13 24 44 81 149...
The output must be as follows:
1 1 2 4 7
13 24 44 81 149
These values must be generated in a loop.
Upload with Java source file.
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: