Skip to content

Instantly share code, notes, and snippets.

View AhmetEnesKCC's full-sized avatar
🖥️
Coding...

Ahmet Enes KCC AhmetEnesKCC

🖥️
Coding...
View GitHub Profile
@AhmetEnesKCC
AhmetEnesKCC / cashier.go
Created August 28, 2023 13:15
cashier app
package main
import (
"fmt"
)
type Item struct {
Name string
Price float64
discount float64
const readline = require("readline");
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout,
});
console.log("Game Started");
const options = ["tas", "kagit", "makas"];
if (
document.getElementById("btnSignCommon-1") &&
document.getElementById("btnSignCommon-2")
) {
document
.getElementById("btnSignCommon-1")
.addEventListener("click", function () {
window.location.href = "login.html";
});