Ответ:
#include<studio.h>
int main()
{
int a=1,b=1,c;
for(int i=3;i<100;i++)
c=a+b;
a=b;
b=c;
}
printf("%i", b) ;
return 0;
===== PascalABC.NET =====
begin
var a := BigInteger.One;
SeqGen(100, a, a, (p, q) -> p + q).Last.Print
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
#include<studio.h>
int main()
{
int a=1,b=1,c;
for(int i=3;i<100;i++)
{
c=a+b;
a=b;
b=c;
}
printf("%i", b) ;
return 0;
}
===== PascalABC.NET =====
begin
var a := BigInteger.One;
SeqGen(100, a, a, (p, q) -> p + q).Last.Print
end.