https://github.com/osoco/copy-top-third-exercise-valerialp
copy-top-third-exercise-valerialp created by GitHub Classroom
https://github.com/osoco/copy-top-third-exercise-valerialp
Last synced: 5 months ago
JSON representation
copy-top-third-exercise-valerialp created by GitHub Classroom
- Host: GitHub
- URL: https://github.com/osoco/copy-top-third-exercise-valerialp
- Owner: osoco
- License: mit
- Created: 2019-07-18T13:44:04.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-18T14:43:35.000Z (almost 7 years ago)
- Last Synced: 2025-06-15T12:05:58.875Z (about 1 year ago)
- Size: 34.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Copy third down exercise
This is a very simple exercise to check computational thinking skills.
## Description
We have to program a function named `copyTopThird()` receiving a parameter `picture` representing an image.
The function takes in a picture and copies the top third of the image onto the bottom third of the image.
## Test case
Given the following input image:

The image should be changed to the following one:

## Solution hints
You can use any existing programming language you know or an invented syntax (something like pseudocode).
You can suppose the existence of any number of auxiliary functions you need. Simply enumerate them in your solution file with a
brief description about their behaviour.
Write your solution in a `solution.md` file in this repository. In the case you think alternative solutions write them
as `solution-1.md`, `solution-2.md`, and so on.