"Factorial Calculator" Challenge
まだ誰も着手していません。
評価
調査の方向性
まず、リポジトリに既存する基本的な C プログラムと、それらをコンパイルおよび実行するためのリポジトリの規約を確認します。正の整数を受け取り、0 と 1 を処理し、説明されているとおり大きな入力に対応する階乗計算プログラムを C プログラムとして追加します。代表的な入力をコンパイルして実行し、プログラムを検証します。この issue では特定のファイルやテストは指定されていません。
索引モデルが issue の本文から書いたものです。
説明
🌟 Hello Coding Enthusiasts!
Challenge: Develop a C program that calculates the factorial of a given positive integer. The factorial of a number ( n ) (denoted as ( n! )) is the product of all positive integers from 1 to ( n ). This task will strengthen your understanding of loops and basic arithmetic operations.
Instructions:
- Fork this repository.
- Create a new branch.
- Write a C program that takes a positive integer input from the user and calculates its factorial.
- Ensure the program handles edge cases (like factorial of 0 or 1) and large inputs gracefully.
- Commit your changes and submit a pull request.
Bonus: Implement the factorial calculation using both iterative and recursive methods and compare their efficiency.
Happy Coding! 🚀
Note: This beginner-friendly issue is an excellent opportunity to practice loops and basic arithmetic operations in C!
- 主要言語
- C
- スター
- 0
- フォーク
- 4
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
KALIIOWORK/basic_c_programs のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
-
good first issue hacktoberfest
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
KALIIOWORK/basic_c_programs#10 · コメント 1 件 ·
-
good first issue hacktoberfest
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
KALIIOWORK/basic_c_programs#9 · コメント 1 件 ·
-
enhancement good first issue hacktoberfest
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
KALIIOWORK/basic_c_programs#8 · コメント 1 件 ·
-
good first issue hacktoberfest
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
KALIIOWORK/basic_c_programs#7 · コメント 2 件 ·
KALIIOWORK/basic_c_programs の issue をすべて見る
似ている issue
-
task
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
vsanthanam/JBird#429 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
bug documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
es-ude/OnDeviceTraining#459 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
bilelmoussaoui/gobject-linter#199 · コメント 1 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
bradcypert/plum#53 ·