ChicoState / ChicoState/MyFirstExample

Non-whole number calculations

Open
#459 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
0
Forks
418
Avg merge
13h 31m
Merged PRs (30d)
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`

Contributor guide

No contributing guide indexed for this repository

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.