Microsoft
Software
Hardware
Network
Question : simple math programming question
I have a simple requirement of a user inputting 5 integers (all at once) and I have to use division and the remainder function (%) to break them into 5 separate digits.
So if the user inputs 42339 I have to separate them out and display back
4 2 3 3 9 using only division and remainder functions to accomplish the breaking apart of the number. I have no clue where to start on this.
Answer : simple math programming question
looks like a school assignment. Here is the clue,
10 is the one used for diving and the reminder function for each time.
That is 42339 % 10 is 9
That is 4233 % 10 is 3
etc etc
Random Solutions
Error Code: 500 Internal Server Error. The target principal name is incorrect. (-2146893022) trying to access OWA on TMG/Exchange 2010
Apply bulk NTFS permission through powershell
1841 as dual wan router
what is the problem in this code
How to create dropdown prarameters from stored procedure in SSRS?
How do I get Year, Month from datetime
How to use Object Browser in Visual Studio 2010?
Finding the oldest date from a set of max dates
How do I enable the Create Email button in Access 2007 forms?
Why aren't all my profiles showing up with I boot up in SAFE MODE?