Results 1 to 1 of 1
  1. #1
    robater's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    å͒ͩͥͬ̽̌͌͋̾̅́̎͂̋̿&#8
    Posts
    588
    Reputation
    26
    Thanks
    308

    $4 USD: Need someone to complete my C++ lab for me

    I don't understand it, please don't reply with comments like "try harder", "you should do it yourself". If you're looking for quick money let me know.

    The lab:
    Code:
    Lab 17
    Extra Additives
    Objective:
    To reinforce skills in defining and manipulating arrays,with the vector class.
    Computers store decimal numbers in binary form to conserve memory. Even though this allows a greater
    range of values, the largest integer value in many systems is 32,767 and long integers, the largest value is
    less than 2.2 billion.
    Your task is to write a program, using a minimum of three functions that input pairs of numbers between 0
    and 100 billion, inclusive. You should then add these numbers together and print the results.
    Input:
    The input will only consist of digit characters (‘0’ . . ‘9’). No commas or other punctuation will be in the
    data. All values will be non-negative. Since the integers may exceed any binary integer value allowed in the
    system, we shall read in the values as a string and convert each integer character to its corresponding integer
    digit and store it in an integer array.
    Output:
    Your program should print out the results of the addition. Do not print any leading zeros before any answer.
    Put a loop in your program to run it four times.
    Examples:
    Input: Output:
    124235
    7453
    325235
    0
    23523
    100000000000
    326346124
    76434124235
    The sum is: 131688
    The sum is: 325235
    The sum is: 100000023523
    The sum is: 76760470359
    Use the declarations at right
    to store your digits.
    vector<int> largeInt1 (12,0); // initialize to zero
    vector<int> largeInt2 (12,0); // initialize to zero
    vector<int> finalInt (13,0); // initialize to zero
    To convert digit characters to
    digit integers you may use
    this function.
    int asciiToInt (char ch)
    {
    return (ch - ‘0’);
    }
    Add me on skype if you're interested: r,i,p,e,r,o,n,i
    Have the code ready before you add me, I will want a skype screen share of the code working then I will pay you. Only vectors.
    Last edited by robater; 10-25-2015 at 08:18 PM.

Similar Threads

  1. [Solved] Need someone to create an CFEU account for me.
    By martin112233 in forum CrossFire Europe Help
    Replies: 1
    Last Post: 09-03-2015, 05:02 PM
  2. Need someone that is a low rank for de-ranking im silver 4
    By TGMotionz in forum Counter-Strike 2 Boosting
    Replies: 0
    Last Post: 06-04-2015, 03:44 AM
  3. [Graphic Art] Need someone to design an animated siganture for me.
    By Depp in forum Art & Graphic Design
    Replies: 6
    Last Post: 09-27-2014, 09:08 PM
  4. Need someone to test and take screenies for my mod
    By !MudK1pz! in forum Combat Arms Mod Discussion
    Replies: 6
    Last Post: 05-25-2010, 05:43 PM