I want to know the mod function. It's like we've been searching for years after using the mod function in Excel. Can we do the same in c++?
For example, when mod in Excel, Id = 199734902138 = mod(id,100000000) As the answer, 34902138 Then id - 34902138 As the answer, 199700000000 Then 199700000000/100000000 Then we can get as the answer 1997 This is the year 1997
How to do the same thing in c++ using mod as mentioned above? I want to know that. Can you please help with that?