ChicoState / ChicoState/MyFirstExample
Non-whole number calculations
Đang mở
- Ngôn ngữ chính
- C++
- Star
- 0
- Fork
- 418
- Merge trung bình
- 13 giờ 31 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
# 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`
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
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.
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
- backend
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 65/100