Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agendamento de Pagamento #1

Open
Vpurplee opened this issue Dec 19, 2023 · 0 comments
Open

Agendamento de Pagamento #1

Vpurplee opened this issue Dec 19, 2023 · 0 comments

Comments

@Vpurplee
Copy link

Adiciona esse desafio da DIO - Agendamento de Pagamento
`//Desafios JavaScript na DIO têm funções "gets" e "print" acessíveis globalmente:
//- "gets" : lê UMA linha com dado(s) de entrada (inputs) do usuário;
//- "print": imprime um texto de saída (output), pulando linha.

// Saiba mais sobre Template Strings:
// https://developer.mozilla.org/pt-BR/docs/Web/JavaScript/Reference/Template_literals

let nomeBeneficiario = 'Sabrina';
let valorConta = 5000;
let dataVencimento = '04/12/2023';

// Neste bloco, temos as funções gets para ler os valores de entrada:
nomeBeneficiario = gets();
valorConta = parseFloat(gets());
dataVencimento = gets();

// TODO: Imprima a saída adequada utilizando o conceito de template strings:
print(Pagamento Agendado! Valor: R$ ${valorConta}, vencimento ${dataVencimento}. );`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant