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

Add 2 problems #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions menor_maior_que_media.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## Menor maior que média

### Problema

Dada uma lista de números inteiros, imprima o menor número da lista maior que a média dos valores dados. Caso não haja valor maior, imprima ERRO.

### Entrada

```
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
[223, 11, -57, 9, 1, -66, 2, -44, 24, 42, 44, 27]
[-2, -7, -33, -6, -1, -2]
[42, 42, 42, 42]
```

### Saída

```
6
24
-7
ERRO
```
23 changes: 23 additions & 0 deletions quantas_letras_a.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## Quantas letras a

### Problema

Dada uma string qualquer, imprima a quantidade de letras 'a' contidas nessa string.

### Entrada

```
'Python é Amor <3'
'PyLadies Brasil'
'Mulheres na tecnologia'
'Girl Power'
```

### Saída

```
1
2
2
0
```