#include <iostream>
usingnamespace std;
int passwordinput;
int actualpassword = 4;
int securitybreachnumber = 50;
int x;
int main()
{
cout<<"To view the stored information, you must type in the password below.\n";
cin>>passwordinput;
if (passwordinput == actualpassword)
{
cout<<"Loading information. Please come back in one hour.\n";
cout<<"actualpassword == " << actualpassword;
cout<<"\nsecuritybreachnumber == " <<securitybreachnumber;
cout<<"\npasswordinput == " << passwordinput;
cin.get();
}
elsewhile (securitybreachnumber <= 100)
{
//x = x+3;
cout<<" " << x+3 << " ";
}
cin.get();
}
(used with Microsoft Visual Studio)
Have to guess it right or you get a spam of 3's on your screen. Funny thing about it is that if you look closely at the 3's running on the screen, it looks like they're scrolling from right to left.