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
How do I programmatically set the idle-timeout for the IIS app pool?
Alpha Opacity issue in IE7/8 - alpha applying to text in UL/LI
CSS IE7 quirky behavior - One word per line
WScript: Retry on HTTP GET Connection Timeout
Where is Outlook Express inbox.dbx file?
How to execute Internet Explore page silently
Powershell script to detect long path/file name and email file owner
can someone explain to me the difference between OLAP and ROLAP
How to verify OpenSSL Timing Attack RSA Private Key Information Disclosure Vulnerability
VMWare Server 2.0.2 vmxnet Performance Very Poor For Windows XP Guest