フィボナッチ数列(c++実装)
313 ワード
#include
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int f1=1,f2=1;
for(int i=1;i<=20;i++)
{
cout<
#include
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int f1=1,f2=1;
for(int i=1;i<=20;i++)
{
cout<