Fork, Commit, Merge - Medium Issue (Ada)

Open Beginner friendly
#8,769 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
95/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Domain
cli

Research direction

Open tasks/ada/medium/number_stats.adb and implement the calculations for the numbers (3, 7, 2, 9, 5, 4). Compile with gnatmake number_stats.adb from tasks/ada/medium, then run the program. Done means the output matches the four expected values and formatting in the issue.

Written by the indexing model from the issue text.

Description

ada first-contributor first-contributors help wanted medium up-for-grabs

Fork, Commit, Merge - Medium Issue (Ada)

Find the min, max, sum, and avg of the numbers in Ada

Note: You don't have ask permission to start solving the issue or get assigned, since these issues are supposed to be always open for new contributors. The actions-user bot will reset the file back to previous state for the next contributor after your commit is merged. So you can just simply start working with the issue right away!

Issue created by gregpuzzles1.

How to get started

Open the tasks/ada/medium directory from the root of your project.
Then open the number_stats.adb file and start implementing your solution!

Description

In this task, the goal is to find the min, max, sum, and avg of the Numbers (3, 7, 2, 9, 5, 4).

Expected output

Sum:      30
Minimum:  2
Maximum:  9
Average: 5.00

How to run

Navigate to the correct directory:

cd tasks/ada/medium
Compile the program:
gnatmake number_stats.adb

Run the program:
.\number_stats.exe (Windows)
./number_stats (Mac, Linux)

If you see the correct output in the console, you are ready to make a pull request!


Check out README.md for more instructions and how to make a pull request.

Feel free to ask any questions here if you have some problems!

Also, kindly give this project a star to enhance its visibility for new developers!
Dominant language
CSS
Stars
511
Forks
2.6k
Avg merge
17h 38m
Merged PRs (30d)
38

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fork-commit-merge/fork-commit-merge

All issues in fork-commit-merge/fork-commit-merge

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.