Java Assignment Help.
#5

Assuming you have to use only modulus and division, you can do something like this:

Код:
num = num - ( ( num / 100 % 10 ) * 100 ) - ( num % 10 ) + d * 100 + d;
cout << (char)(ch-1) << num << (char)(ch+1);
I wrote the code in C syntax.
Reply


Messages In This Thread
Java Assignment Help. - by ColonelBurton - 01.11.2014, 16:35
Re: Java Assignment Help. - by Mauzen - 01.11.2014, 17:09
Re: Java Assignment Help. - by ColonelBurton - 01.11.2014, 19:15
Re: Java Assignment Help. - by IvanSb - 01.11.2014, 19:34
Re: Java Assignment Help. - by RaZVaN ^ xD - 02.11.2014, 00:28
Re: Java Assignment Help. - by Mauzen - 02.11.2014, 00:52
Re: Java Assignment Help. - by BroZeus - 02.11.2014, 08:07
Re: Java Assignment Help. - by Infinity - 02.11.2014, 08:17
Re: Java Assignment Help. - by BroZeus - 02.11.2014, 08:37
Re: Java Assignment Help. - by Infinity - 02.11.2014, 10:28

Forum Jump:


Users browsing this thread: 3 Guest(s)