Find Jobs
Hire Freelancers

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

$30-250 USD

In Progress
Posted about 10 years ago

$30-250 USD

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.
Project ID: 5566275

About the project

3 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
3 freelancers are bidding on average $134 USD for this job
User Avatar
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 day
4.9 (12 reviews)
0.0
0.0
User Avatar
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.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$222 USD in 3 days
4.3 (28 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Saint Charles, United States
5.0
5
Payment method verified
Member since Feb 12, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.