You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cout << "If the number is in a+bi form it's an imaginary number\nIf a number is given we can check whether it's root is an imaginary number or not\n Input number to be checked: " << endl;
cin>>x;
if(x<0)
{
cout<<"Imaginary Number\nRoot of"<<x<<" is: "<<sqrt(-1*x)<<"i";