Write a program to divide a number by 3 and display quotient and remainder separately. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 5

Write a program to divide a number by 3 and display quotient and remainder separately.

27th Aug 2017, 9:41 AM
Shubh Rastogi
Shubh Rastogi - avatar
2 Answers
+ 1
It's simple, use / and % operators...
27th Aug 2017, 11:35 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
+ 2
Stop asking people to do your homework. I see you've posted several similar questions in a few minutes
27th Aug 2017, 9:55 AM
Jesse Bayliss
Jesse Bayliss - avatar