codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Math  Thierry_juggler at 15:09 on Thursday, November 13, 2008
 

Hey y'all,

I study math in France, and i need to program my first half year, and after that i am finished with c++. My first three assignments went very well, only the last one is a problem, hope you can help.

I need to make a program that asks a number, and than, by the use of pointers, i need to see if the inverse of the number is the same as the number itself. Like :

12345 --> 1 , 2 , 3 , 4 , 5 is not the same as 5 , 4 , 3 , 2 , 1.
When it is not the same, i have to give the sum of the two numbers, so 12345 + 54321, and then see if that number is inversible. It becomes difficult when 9, 8, 7 + 7, 8, 9 = 16, 16, 16 = 1776.

Thus, i managed to make an program with all kinds of voids, which should be no longer than 20 lines. This program uses pointers, which i must use, to seperate all the numbers.

I don't know how to inverse this, or how to get the sum.
The things i have learned, and may use, are classes, voids, pointers, arrays, and the basic features.

Can anybody help?

With much appriciation,

Thierry


  Re: Math  Elain at 07:39 on Monday, December 06, 2010
 

I think it is very difficult to me to help you answer this question! i'M SORRY, BUT I CAN ASK IT FOR MY FRIEND, He is very good at it:)
__________________________
flash banner|flash menu









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: frame title page problem
•  How to do?
•  What does ie mean?
•  The Conception about JaVa
•  Re: Frame over frame
•  Re: mail repeat region
•  Re: accessing oleVariant type of activeX component written in delphi
•  Re: horizontal scroll bar for drop down list box
•  Re: where can i download javax.speech package


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2010