employer cover photo
employer logo
employer logo

Enosis Solutions (Bangladesh)

Is this your company?

Enosis Solutions (Bangladesh) Interview Question

Write the fibonacci sequence using only one loop?

Interview Answers

Anonymous

Sep 26, 2022

#include using namespace std; int main() { int first=0,second=1; for(int i=0;i<10;i++) { cout<

1

Anonymous

Aug 4, 2022

#include using namespace std; int main() { int a=0,i=0,b=1, sum=0, n=0; scanf("%d", &n); printf("%d\n%d\n", a,b); sum = a+b; for(i=0 ; i

Anonymous

Jul 14, 2022

#include using namespace std; using ll = long long ; int main() { ll n ; cin >> n; ll x = 0, y =1, z = 0; for(int i =0;i

8

Anonymous

Jul 14, 2022

#include using namespace std; using ll = long long ; int main() { ll n ; cin >> n; ll x = 0, y =1, z = 0; for(int i =0;i

1