+ 2

C++ and JavaScript challenges

for c++ and java script challenges I am always up.

1st Aug 2017, 9:37 PM
Priyanshu Tiwari
Priyanshu Tiwari - avatar
4 Answers
+ 1
how to type Fibonacci sequence in c++? a simple and easy challenge😃😃😃
12th Aug 2017, 10:47 AM
Ruhansh Bansal
Ruhansh Bansal - avatar
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!
12th Aug 2017, 10:51 AM
Priyanshu Tiwari
Priyanshu Tiwari - avatar
0
btw I meant challenges using weapon
12th Aug 2017, 10:52 AM
Priyanshu Tiwari
Priyanshu Tiwari - avatar
0
ooooh
12th Aug 2017, 10:55 AM
Ruhansh Bansal
Ruhansh Bansal - avatar