Skip to content
Snippets Groups Projects
Unverified Commit 18afc697 authored by Andrea Trentini's avatar Andrea Trentini
Browse files

ascii su segmento

parent de9648ea
Branches
No related tags found
No related merge requests found
......@@ -97,8 +97,8 @@ Scrivere un programma `segmento.go`, dotato di:
è rappresentato graficamente dalla stringa `*---*`
- un **metodo** `allunga(n int)` per *Segmento che incrementa di n la lunghezza del segmento (o la accorcia se n è negativo)
- una funzione `main()` che legge da standard input, separati da spazi, in quest'ordine:
- il carattere per gli estremi
- il carattere interno
- il carattere (ASCII) per gli estremi
- il carattere (ASCII) interno
- true o false per orizzontale o verticale
- la lunghezza del segmento
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment