+ 2
C++ and JavaScript challenges
for c++ and java script challenges I am always up.
4 Réponses
+ 1
how to type Fibonacci sequence in c++? a simple and easy challenge😃😃😃
0
#include<iostream>
using namespace std;
int main()
{
int n,first=0,second=1,third,i;
cout<<"enter the limit: ";
cin>>n; cout<<first<<second; for(third=0;third<=n;third++)
{ third=first+second; first=second; second=third; cout<<third; };
return 0;
}
Hope this helps!
0
btw I meant challenges using weapon
0
ooooh