ChicoState / ChicoState/MyFirstExample
Non-whole number calculations
Ouverte
- Langage dominant
- C++
- Étoiles
- 0
- Forks
- 418
- Merge moyen
- 13 h 31 min
- PR mergées (30 j)
- 1
Description
# Problem Description
Some calculations of two whole numbers may result in a decimal, such as division.
# Desired Behavior
When dividing two numbers, produce a result as a decimal number, such as `5/2` should produce `2.5` rather than `2`
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Search the project for the calculation or division logic and reproduce the reported 5/2 case. Update the relevant behavior so division of whole numbers preserves a decimal result, then verify that 5/2 produces 2.5 and that existing calculation behavior still works.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- cpp
- Domaine
- backend
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- Active
- Clarté
- Plutôt claire
- Accessibilité débutants
- 65/100