#include <stdio.h>
#include <string.h>

#define USERNAME "admin"
#define PASSWORD "password"

int main() {
    char username[20];
    char password[20];

    printf("เข้าสู่ระบบ\n");
    printf("กรุณากรอกชื่อผู้ใช้: ");
    scanf("%s", username);
    printf("กรุณากรอกรหัสผ่าน: ");
    scanf("%s", password);

    if (strcmp(username, USERNAME) == 0 && strcmp(password, PASSWORD) == 0) {
        printf("เข้าสู่ระบบสำเร็จ!\n");
    } else {
        printf("ชื่อผู้ใช้หรือรหัสผ่านไม่ถูกต้อง!\n");
    }

    return 0;
}
