[FONT=Times New Roman][SIZE=3][SIZE=1]i need a program which outputs a series of asterisks (* - stars) to form the following pattern below.[/SIZE][/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman][SIZE=1]i think in order [FONT=Times New Roman]to get the second half of the pattern you will need another set of for loops, this time counting down or you can try to change over the loop control and decrement after 5.[/FONT][/SIZE]
[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3][SIZE=1]The output should look like: (this is a short version, you should have 10 lines of stars)[/SIZE][/SIZE][/FONT]
[FONT=Times New Roman][FONT=Times New Roman][/FONT]
[FONT=Times New Roman][/FONT]
[FONT=Times New Roman][/FONT]
[FONT=Times New Roman][/FONT]
[FONT=Times New Roman][/FONT]
[FONT=Times New Roman][/FONT]
[FONT=Times New Roman]*****[/FONT]
[FONT=Times New Roman][/FONT]
[FONT=Times New Roman][/FONT]
[FONT=Times New Roman][/FONT]
[FONT=Times New Roman]*[/FONT]
[/FONT][FONT=Tahoma][SIZE=1]
[/SIZE][/FONT]
[FONT=Tahoma][SIZE=1][/SIZE][/FONT]
[FONT=Tahoma][SIZE=1]i then need a METHOD which produces the Fibonacci series when called. [/SIZE][/FONT]
[FONT=Tahoma][SIZE=1][/SIZE][/FONT]
[FONT=Tahoma][SIZE=1]The series is formed by adding two numbers in the series to generate the third. Note the first two are 0 and 1, so to make the make number we add 0 + 1 to give 1. The fourth number is obtained by adding the second and third numbers, 1 + 1 gives 2. So the series looks like:[/SIZE][/FONT]
[FONT=Tahoma][SIZE=1][/SIZE][/FONT]
[FONT=Tahoma][SIZE=1][/SIZE][/FONT]
[FONT=Tahoma][SIZE=1]
0 1 1 2 3 5 8 13 21………
[/SIZE][/FONT]
[FONT=Tahoma][SIZE=1][/SIZE][/FONT]
[FONT=Tahoma][SIZE=1]All help is really appreciated and i may be able to reward any one for their help. Thanks[/SIZE][/FONT]