Get Off-Campus Placement Jobs Info !!!
Programs asked in Mettl Coding Round
Click To Practce List of Programs asked in Nagarro !!!

Program Discussion :: Basics

Home > Programs > Basics

1 / 248

Write fibonacci series program.

INPUT: 10 term
OUTPUT: 0 1 1 2 3 5 8 13 21 34

Answer:

#include 
using namespace std;
int main()
{
    int n, t1 = 0, t2 = 1, nextTerm = 0;
    cout > n;
    cout 

Asked In :: Wipro Capgemini eLitmus

Post Your Answer Here:

Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here: