#include <stdio.h> int main () { char username[8]; int allow = 0; printf external link("Enter your username, please: "); gets(username); if (grantAccess(username)) { allow = 1; } if (allow != 0) { privilegedAction(); } return 0; }
#include <stdio.h> int main () { char username[8]; int allow = 0; printf external link("Enter your username, please: "); gets(username); if (grantAccess(username)) { allow = 1; } if (allow != 0) { privilegedAction(); } return 0; }