Write nested if statement that perform the following test: if the variable employed is equal to 'Y' and worklength is equal to or greater than 5, then display the message "your credit card application is accepted". however,if worklength is less than 5, then display the message "please provide a guarantor". otherwise, if the variable employed is equal to 'N' , then display the message "your credit card application is rejected".
std::cout represents the "console output".
And if you have a usingnamespace std; you can write just cout without std::.
To use std::cout, you must #include <iostream> .
Anyway, from what I can tell, you start your program but the window disappears too fast and you can't read what it says?
If so, read this: http://cplusplus.com/forum/beginner/1988/