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
Visual Studio 2010 Express, Publish from a 64bit Windows 7 for Windows XP 32bit
How to calculate the difference of values in consecutive rows
Owa 2010 Error creating rules and when i click Options (error 400 /owa/auth.owa)
sql server management set up
citrix
How do I identify user logon / logoff event in a domain
How to download SQL on my PC
mssphtb.dll disabled in Outlook 2010
How to compare two string
Migrating DNS from 2003 to 2008