C++ code Translation and Modifing (Need: ASAP!!!!)

In Progress Posted Mar 17, 2014 Paid on delivery
In Progress Paid on delivery

Need some C++ code modified for a natural numbers project. Just some quick fixes for some number weights. To better understand the project. (Needs to be done ASAP!!!!)

Here is the assignment: The aim is to create a program that allows you to enter a natural number and which displays the or the weight(s) of each digit in this number. From this information (the weight of each figure), the number must be reconstituted. The weight represents the position of the digit The final display (7377683) comes from the reconstitution of the number from the weight of each digit. We will assume that the number entered does not exceed 9 digits (no need to make a capture control).In C++ you declare this number in "unsigned long int". Attention, the number reconstituted must be also in 'unsigned long int". You do not have the permission to use variables other than digital to manage this program. The program must work for several numbers: the judgment of the program will be when the entered number will be equal to 0.n the number, starting from the right (the first digit to the right is at position 0, it therefore has a weight 0).

Example: If the entered number is: 7377683 The display should give : 3 : 0 5 6 : 2 7 : 3 4 6 8: 1 7377683.

Explanation: The 3 has to weight 0 and 5 (because it is found in the position 0 and position 5 of the number, starting from the right ), the 6 has for weight 2, the 7 to for weight 3, 4 and 6, and the 8 has to weight 1. You must not display the figures which do not [login to view URL] final display (7377683) comes from the reconstitution of the number from the weight of each digit. We will assume that the number entered does not exceed 9 digits (no need to make a capture control).In C++ you declare this number in "unsigned long int". Attention, the number reconstituted must be also in 'unsigned long int". You do not have the permission to use variables other than digital to manage this program. The program must work for several numbers: the judgment of the program will be when the entered number will be equal to 0.

Work request Write the algorithm of the application, properly commented and indented. Encode this algorithm in C++ At the level of the display, in C++ , follow the requested format.

Important Note The code optimization will be valued.

Reminder about the format of the work to make the duty must be made by internet. The algorithm will be saved in a text file of the editable format of your choice (txt, doc, docx, odt, rtf .. but not pdf). At the level of the code, only the source file will be rendered (the file with the extension .cpp). Remember to zipper this file (the exension cpp may be refused at the time of the deposit of your duty on the site of the Cned, for security reasons).

NOTE: The whole project does not need to be done! Just some modifications.

Modifications example: If there's a 0 at the beginning or the end it should say "un zéro a été trouvé: erreur" (that is the error message) Instead of "Error: Please either enter a number between 1 and 999999999 or Exit to quit"

Code compilation is preferably done with VS2013.

The uploaded file is the C++ project that needs modifying built in VS2013.

C Programming C++ Programming English (US) Translator French Translator Software Testing

Project ID: #5566275

About the project

3 proposals Remote project Active Mar 19, 2014

3 freelancers are bidding on average $134 for this job

armujahid

i can start working on this right now....you can see my profile i have successfully completed many programming jobs before...contact me for more details

$100 USD in 0 days
(12 Reviews)
0.0
ThinkOutOfTheBox

Hello, This project seems very enjoyable, There' s mathematics in it-and algorithm development- I'd love to code it. regards,

$80 USD in 1 day
(0 Reviews)
0.0
rainbow

A proposal has not yet been provided

$222 USD in 3 days
(28 Reviews)
0.0