Adicionar sistema.ts
This commit is contained in:
parent
a47e71a10a
commit
79a334e941
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue