Without using /,% and * operators. write a function to divide a number by 3, itoa() function is available.
mayank.dyl
0
Light Poster
Recommended Answers
Jump to PostIf you think about it you can divide by just using subtraction and a for() loop. Since you have this function itoa() available I'm assuming you are only using integers, which means you do not have to worry about remainders/decimals.
Not gonna give you any code because you clearly just …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.