"Calculate and Print: Simple Arithmetic Operations in C++"
@Tashuuuu 已经在做这个了。
开始于 2023年10月19日。
评估
调研方向
在仓库中创建 arithmetic_operations.cpp。首先使用两个数字作为输入来编译并运行新的 C++ 程序。当它显示加法、减法、乘法和除法的结果,然后提交更改并在 pull request 中提交时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Ready to level up your C++ skills? This beginner-friendly task will help you practice fundamental arithmetic operations in C++. Understanding these basics is crucial for any programmer, and this task is designed to make learning fun!
Task:
Your task is to create a C++ program that performs the following operations:
- Addition
- Subtraction
- Multiplication
- Division
Your program should take two numbers as input and display the results of each operation. For example, if the inputs are 5 and 3, your program should output:
Addition: 8
Subtraction: 2
Multiplication: 15
Division: 1.66667
Instructions:
- Fork this repository to your GitHub account.
- Clone the forked repository to your local machine:
git clone https://github.com/KALIIOWORK/basic_c-_programs.git - Create a new C++ file named
arithmetic_operations.cpp. - Write a program that takes two numbers as input and performs addition, subtraction, multiplication, and division operations.
- Compile and run your program to ensure it works correctly.
- Commit your changes and push them to your forked repository.
- Open a pull request with your changes.
Note:
This task will strengthen your understanding of basic arithmetic operations in C++. Don't hesitate to experiment with different numbers and calculations. Happy coding! 🚀✨
- 主要语言
- C++
- 星标
- 0
- 派生
- 6
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
KALIIOWORK/basic_c-_programs 的其他 Issue
-
Introduction to Control Statements: Implementing a Number Guessing Game in C++可能重新可做 @noureennaaz 于 1087 天前认领,目前没有进行中的 PR。 未关闭good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 45/100
KALIIOWORK/basic_c-_programs#9 · 1 条评论 ·
-
Introduction to Functions: Building a Basic Calculator Program in C++可能重新可做 @Tashuuuu 于 1090 天前认领,目前没有进行中的 PR。 未关闭good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 45/100
KALIIOWORK/basic_c-_programs#8 · 1 条评论 ·
-
Introduction to Arrays: Implement a Basic Sorting Algorithm in C++可能重新可做 @vishwa-X 于 1090 天前认领,目前没有进行中的 PR。 未关闭good first issue hacktoberfest
难度 1/5 1-3 小时 新手友好度 45/100
KALIIOWORK/basic_c-_programs#7 · 1 条评论 ·
-
good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 38/100
查看 KALIIOWORK/basic_c-_programs 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
1 type: problem 2 scope: firmware 3 good first issue
难度 2/5 1-3 小时 新手友好度 65/100
SpaceTeam/STS1_COBC_SW#511 ·
-
documentation good first issue
难度 2/5 1-3 小时 新手友好度 82/100
imaaiagent/fumi#3 ·
-
General perf
难度 2/5 1-3 小时 新手友好度 72/100
NVIDIA/TensorRT-LLM#20236 ·
维护者通常 1 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 88/100
E3SM-Project/mam4xx#603 ·
维护者通常 1 天内回复