7xGit / 7xGit/7xGit_Task2

Generate Secret Number

Ouverte Adaptée aux débutants
#4 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug good first issue
Langage dominant
C++
Étoiles
1
Forks
5
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
cpp
Domaine
cli
Type d'issue
Fonctionnalité
Difficulté
1/5
Temps estimé
Moins d'une heure
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
80/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.