Solution for test task "Pinatas"
There are two part of the instruction:
- How to run the application
- How to use the application
First, you need to check whether dotnet is installed on your machine (in terminal)
dotnet --list-sdks
To run the program you need dotnet 8. If you have not it installed, you can do so on the official website: https://dotnet.microsoft.com/en-us/download/dotnet/8.0
Reopen your terminal after installation
Now, clone repository:
git clone https://github.com/Myrtilli/StudentCapital.git
Open it after cloning:
cd Pynatas
Run the program:
dotnet run
- Type in the number of pinatas
- Type in sequence of numbers that represent values of pinatas, separated by spaces or tabs
- Look at the result