KALIIOWORK / KALIIOWORK/basic_c_programs

"Simple Calculator Program" Challenge

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
good first issue hacktoberfest
Dominant language
C
Stars
0
Forks
4
PR merge metrics
No merged PRs in 30d

Description

🌟 **Hello Aspiring Programmers!**

**Challenge:** Create a basic calculator program in C that can perform addition, subtraction, multiplication, and division. This task will test your understanding of user input, arithmetic operations, and conditional statements.

**Instructions:**

1. Fork this repository.
2. Create a new branch.
3. Write a C program for a simple calculator that takes two numbers and an operator (+, -, *, /) as input and displays the result.
4. Ensure the program handles division by zero and provides clear error messages.
5. Commit your changes and submit a pull request.

**Bonus:** Implement additional mathematical functions like square root or exponentiation.

**Happy Coding!** 🚀

*Note: This issue is perfect for honing your skills in user input handling and basic mathematical operations!*

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test entry point is named, so start by reviewing the repository's existing C program structure and conventions. Create the calculator described in the issue, supporting two numbers, the four listed operators, and a clear division-by-zero error; completion is demonstrated by exercising each operation and the error case.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.