The “sum” is wrong, it subtracts the numbers
还没有人认领这个 Issue。
评估
调研方向
打开 calculator.c,检查用于输出“The sum is”这一行的计算。使用输入 5 和 3 构建并运行程序;修改计算,使输出为“The sum is: 8”,并确认结果。
由索引模型根据 Issue 内容生成。
描述
Description
The calculator says “The sum is” but it subtracts the two numbers.
Steps to reproduce
- Build and run the program.
- Enter 5 3.
Expected: The sum is: 8
Actual: The sum is: 2
Where to look: calculator.c the line that prints “The sum is”.
- 主要语言
- 没有语言数据
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PaperCodeGithub/glug-oss-c 的其他 Issue
-
enhancement good first issue
难度 1/5 1 小时以内 新手友好度 91/100
-
bug good first issue
难度 1/5 1 小时以内 新手友好度 95/100
查看 PaperCodeGithub/glug-oss-c 的全部 Issue
相似的 Issue
-
help wanted new command
难度 2/5 1-3 小时 新手友好度 76/100
tldr-pages/tldr#25111 ·
维护者通常 1 天内回复
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 82/100
MysterionRise/pubchem-finder#114 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 1/5 1 小时以内 新手友好度 95/100
-
难度 2/5 1-3 小时 新手友好度 78/100
ParaToolsInc/taucmdr#452 ·
-
bug command:plugin-update scope:documentation
难度 1/5 1 小时以内 新手友好度 83/100
wp-cli/extension-command#572 ·