Skip to content

Commit

Permalink
Add exercice stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-maulaz committed Feb 9, 2022
1 parent 96a5da7 commit 765db2c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
## Ex 20 - Stdout
- [stdout.md](https://github.com/tony-maulaz/poo-exercices/blob/main/ex20-stdout.md)

## Ex 21 - Stdin
- [stdin.md](https://github.com/tony-maulaz/poo-exercices/blob/main/ex21-stdin.md)

## Ex 30 - Surcharge
- [surcharge.md](https://github.com/tony-maulaz/poo-exercices/blob/main/ex30-surcharge.md)

Expand Down
8 changes: 8 additions & 0 deletions ex21-stdin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Ex 1
Écrire un programme qui demande de saisir une valeur double et ensuite affiche son carré :

Il n'y a pas de contrôle sur la saisie.

```console
Le carré de 2 est 4.
```

0 comments on commit 765db2c

Please sign in to comment.