From 79a334e941ebc8673e9955666d4f1cd6e9012004 Mon Sep 17 00:00:00 2001 From: JADSON LIMA DO NASCIMENTO Date: Tue, 29 Oct 2024 15:01:24 +0000 Subject: [PATCH] Adicionar sistema.ts --- sistema.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 sistema.ts diff --git a/sistema.ts b/sistema.ts new file mode 100644 index 0000000..ffb51c6 --- /dev/null +++ b/sistema.ts @@ -0,0 +1,22 @@ +const menuPrincipal = ` +Sistema de Series + +1. adicionar +2. remover +3. atualizar +4. ler +5. sair + +entre com uma opção: ` + +function principal(){ + let op: number; + op = parseInt(prompt(menuPrincipal)); + while (op!=5){ + op = parseInt(prompt(menuPrincipal)); + + } + } +principal() + +