![]() |
Programming I & II |
|||||||||
![]() |
||||||||||
Exercise 4: Basic Ada Programming continuedSubprogramModify the program you've written in exercise 2 (the main procedure that displays a welcome message on the screen, followed by a triangle of stars) to use a subprogram. The subprogram should print a certain character a certain number of times on a line. The parameters of this subprogram are the character to display, and a number indicating how often it should be repeated. This exercise can be handed in after the lesson. Please mail your solution to |
| EPFL | IC | LGL | Teaching | Programming I & II | |||
![]() |
|||
| Last modified |
![]() |
||