I was just thinking! Well lets say I want to make a simple program that if you enter the password you get an answear you entered right password.
So this is what i come up with:
So can I use variable as letters? or they only must be numbers?Code:#include <iostream.h> int main() { int password == tiger; cout<<"Enter password"; cin>>password } if (password == tiger) { cout<<"Password is right"; } else { return 0; }![]()



LinkBack URL
About LinkBacks




its supposed to be too not to!