7xGit / 7xGit/7xGit_Task2

Generate Secret Number

未关闭 适合新手
#4 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug good first issue
主要语言
C++
星标
1
派生
5
PR 合并指标
30 天内没有已合并 PR

描述

The secret number generation is incomplete. Implement the logic to generate a random number between lowerBound and upperBound using the rand() function.

Acceptance Criteria:

The secretNumber variable should be assigned a random number using a formula that ensures it falls within the specified range.

贡献指南

这个仓库没有索引到贡献指南

调研方向

Look for the secretNumber variable and the lowerBound/upperBound variables in the codebase. Use the C++ rand() function with modulo and addition to generate a number within the inclusive range. Test by running the program to ensure the generated number is always between the bounds.

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
cli
Issue 类型
功能
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
80/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。