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
year value
Access Forms on Top
SBS 2003 R2 remote web workplace
I am trying to compile an already produced program and it gets error 9009, which I was told has to do with the path of the batch program, where do I re-path the batch program correctly?
Monitor Changes Made To Switch Configs
VB Script: Output specific text from text file
Using a select box instead of tabs to change content of div
Nortel BCM50 wiring schematic
Simple? Visual Studio
Problem Installing Generic Text Printer