Sign in
or
Register
Courses
Textbook
Compiler
Contests
Topics
Courses
Basic of Java
(Java) Subroutines: procedures and functions - 1
Module:
(Java) Subroutines: procedures and functions - 1
Problem
3
/11
Line 1: writing the procedure
Problem
Write a procedure that takes a parameter - a natural number N - and displays two lines of N characters on the screen.
Example:
Input
7
Imprint
-------
-------
1000
ms
256 Mb
Rules for program design and list of errors in automatic problem checking
Teacher commentary