Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
|
|
@ -9,7 +9,7 @@ fibu(n)
|
|||
}
|
||||
else
|
||||
{
|
||||
for(int i := 2, i <= n, i+=1)
|
||||
for(int i := 2; i <= n; i+=1)
|
||||
{
|
||||
int t := ac[1];
|
||||
ac[1] := ac[0] + ac[1];
|
||||
|
|
@ -22,7 +22,7 @@ fibu(n)
|
|||
|
||||
public program()
|
||||
{
|
||||
for(int i := 0, i <= 10, i+=1)
|
||||
for(int i := 0; i <= 10; i+=1)
|
||||
{
|
||||
console.printLine(fibu(i))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ public program()
|
|||
{
|
||||
auto e := new FibonacciGenerator();
|
||||
|
||||
for(int i := 0, i < 10, i += 1) {
|
||||
for(int i := 0; i < 10; i += 1) {
|
||||
console.printLine(e.next())
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue