7xGit / 7xGit/7xGit_Task2

Generate Secret Number

Đang mở Phù hợp với người mới
#4 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug good first issue
Ngôn ngữ chính
C++
Star
1
Fork
5
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
cpp
Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
80/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.