Flow Chart for a number is a member of Fibonacci sequence or not?

Not able to draw flow-chart for a given number is a member of Fibonacci sequence or not?

Not understand please show me the c++ code for this?

C++ Code

#include<iostream>
using namespace std;
int main(){
    int n;cin>>n;
    int a =0,b=1;
    while(a<n){
        int temp = a;
        a = b;
        b += temp;

        if(a == n){
            cout<<"Yes fibo Number"<<endl;
            break;
        }
    }
    if(a!=n){
        cout<<"Not a Fibo Number"<<endl;
    }
    return 0;
}

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.