fork download
  1. // Online C compiler to run C program online
  2. #include <stdio.h>
  3.  
  4. int main() {
  5. // Write C code here
  6. int uid;
  7. printf("Enter the user id: ");
  8. scanf("%d",&uid);
  9. if(uid==1212122){
  10. int password;
  11. printf("Enter password: ");
  12. scanf("%d",&password);
  13. if(password==123123){
  14. printf("================================================================================\n");
  15. printf("|| ||\n");
  16. printf("|| █████╗ ██████╗ ███╗ ███╗██╗███╗ ██╗ ██████╗ █████╗ ███╗ ██╗ ||\n");
  17. printf("|| ██╔══██╗██╔═══██╗████╗ ████║██║████╗ ██║ ██╔════╝ ██╔══██╗████╗ ██║ ||\n");
  18. printf("|| ███████║██║ ██║██╔████╔██║██║██╔██╗ ██║ ██║ ███╗███████║██╔██╗ ██║ ||\n");
  19. printf("|| ██╔══██║██║ ██║██║╚██╔╝██║██║██║╚██╗██║ ██║ ██║██╔══██║██║╚██╗██║ ||\n");
  20. printf("|| ██║ ██║╚██████╔╝██║ ╚═╝ ██║██║██║ ╚████║ ╚██████╔╝██║ ██║██║ ╚████║ ||\n");
  21. printf("|| ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ||\n");
  22. printf("|| ||\n");
  23. printf("|| ---------------------------------------------------------------------- ||\n");
  24. printf("|| ||\n");
  25. printf("|| 🔐 YOU HAVE SUCCESSFULLY LOGGED INTO THE ADMIN PANEL 🔐 ||\n");
  26. printf("|| ||\n");
  27. printf("|| ⚙️ SYSTEM STATUS: ONLINE 📊 DASHBOARD: READY ||\n");
  28. printf("|| ||\n");
  29. printf("|| ✨ Welcome back, Admin! Time to take control like a boss. ✨ ||\n");
  30. printf("|| ||\n");
  31. printf("|| ---------------------------------------------------------------------- ||\n");
  32. printf("|| ||\n");
  33. printf("|| 💡 Tip of the day: A secure system is a happy system. 🔐 ||\n");
  34. printf("|| ||\n");
  35. printf("================================================================================\n");
  36.  
  37. }else{
  38. printf("Invalid password");
  39. }
  40. }else{
  41. printf("Invalid id");
  42. }
  43.  
  44. return 0;
  45. }
Success #stdin #stdout 0s 5304KB
stdin
1212122
123123
stdout
Enter the user id: Enter password: ================================================================================
||                                                                              ||
||     █████╗ ██████╗ ███╗   ███╗██╗███╗   ██╗     ██████╗  █████╗ ███╗   ██╗    ||
||    ██╔══██╗██╔═══██╗████╗ ████║██║████╗  ██║    ██╔════╝ ██╔══██╗████╗  ██║    ||
||    ███████║██║   ██║██╔████╔██║██║██╔██╗ ██║    ██║  ███╗███████║██╔██╗ ██║    ||
||    ██╔══██║██║   ██║██║╚██╔╝██║██║██║╚██╗██║    ██║   ██║██╔══██║██║╚██╗██║    ||
||    ██║  ██║╚██████╔╝██║ ╚═╝ ██║██║██║ ╚████║    ╚██████╔╝██║  ██║██║ ╚████║    ||
||    ╚═╝  ╚═╝ ╚═════╝ ╚═╝     ╚═╝╚═╝╚═╝  ╚═══╝     ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═══╝    ||
||                                                                              ||
||    ----------------------------------------------------------------------    ||
||                                                                              ||
||       🔐  YOU HAVE SUCCESSFULLY LOGGED INTO THE ADMIN PANEL  🔐             ||
||                                                                              ||
||       ⚙️  SYSTEM STATUS: ONLINE         📊 DASHBOARD: READY                 ||
||                                                                              ||
||       ✨ Welcome back, Admin! Time to take control like a boss. ✨           ||
||                                                                              ||
||    ----------------------------------------------------------------------    ||
||                                                                              ||
||        💡 Tip of the day: A secure system is a happy system. 🔐             ||
||                                                                              ||
================================================================================