Results 1 to 4 of 4
  1. #1
    [Raindrops]'s Avatar
    Join Date
    Jun 2016
    Gender
    male
    Posts
    25
    Reputation
    10
    Thanks
    6

    Pay for Assignments

    Basically, I don't have time to learn how to do these c++ programs right now. Willing to pay $35 to whoever does them for me and sends me a txt file with all the correct code for each problem.

    Problem 1

    Create a text file named dataOne.txt and store 10 integers, each of which is between -20 and 50.

    Write a program that reads data from dataOne.txt file into an array and then displays the following:

    1. minimum value stored in the array

    2. index of the minimum value stored in the array.

    3. number of positive values in the array.

    Problem 2

    Create a text file named dataTwo.txt and store 10 integers, each of which is between -20 and 50.

    Write a program that reads data from dataTwo.txt file into an array and then displays the following:

    1. Print all the element in the array

    2. Replace all the negative numbers in the array with their absolute values and then print the modified array.

    Problem 3

    Create a text file named dataThree.txt and store 10 integers, each of which is between 1 and 50. Do not include duplicate values.

    Write a program that reads data from dataThree.txt file into an array.

    Prompt the user to enter an integer between 1 and 50. Use a loop to validate the user input and prompt the user to enter a correct input if the input is invalid.

    When the user enters a valid input, check if it is one of the elements of the array (values read from the text file). If it is, then display an appropriate message. Otherwise, display the message "Value not found".

    Problem 4

    Write a program that can be used to assign seats for a small airplane. The airplane has 13 rows, with 3 first class seats (seats 1-3), 4 business class seats ( seats 4 - 7), and 6 economy class seats (8 - 13).

    Your program must prompt the user to enter the following:

    Please enter ticket type ( 1 for first class, 2 for business class, or 3 for economy class)
    If the user enters 1, your program should assign a seat in the first class section.
    If the user enters 2, your program should assign a seat in the business class section.
    If the user enters 3, your program should assign a seat in the economy class section.
    Your program should print a boarding pass indicating the person's seat number and whether it's in the first class, business class, or economy class of the plane.

    Use a one-dimensional array to represent the seating chart of the plane. Initialize all the elements to 0 indicating that all the seats are empty. As each seat if assigned, set the corresponding element of the array to 1 to indicate that the seat is no longer available.

    Your program should not assign a seat that has already been assigned.

    When the first class section is full, your program should ask the person if it's acceptable to be placed in other sections. If yes, then make the appropriate seat arrangement. If no, then print the message "Next flight leaves in 2 hours".

    Create a folder named assignment5 and place all the files in that folder.

    Problem 5

    Write a program to calculate the monthly payment of a loan.

    Construct a Loan class with four variables: principal (loan amount), rate (rate per year), term (total number of payments/months), and payment (monthly payment).
    Create appropriate constructor(s) to initialize the loan.
    Create the regular getters and setters member functions.
    Use the following formula to calculate the monthly payment:
    Monthly payment = principal*rate/((1- X)*12)

    where X = pow((1+rate/12), - term)

    Separate class specification and implementation into different files. Put class specification into a .h file, and class implementation into a .cpp file, and main function into another .cpp file.
    Compile and run your program. Debug and test your program to make sure your program works properly.
    Your program should prompt the user to enter the loan amount (principal), interest rate, and term (total number of months/payments). Then it should calculate and display the monthly payment.

    Use the following test cases:

    Principal = $150000

    Rate = 0.0375 (3.75%)

    Term = 360 ( 30 years)

    6. In this assignment, you are asked to write a program for an online carpet store to process installation orders. Each order includes the following information: (1) name of the customer, (2) number of rooms, (3) size of each room, type of carpet (premium or standard), and (5) distance for delivery. The charge information on an order is as follows:

    The price of a square foot of a premium carpet is $25 and a standard carpet is $10.
    A 20% off discount is applied to the total charge (before adding delivery fee) when a customer orders carpet for more than 1000 square feet.
    If the distance is 0 (i.e. self-pickup), no delivery fee. Otherwise, it is $2.50 per mile.
    Price of installation is $5 per square foot.
    In order to reduce the complexity of the program, assume each order contains no more than 5 rooms.

    Customers may order different types of carpets for different rooms.

    You may use the Rectangle Class as a guide.

    Requirements:

    Note: All variables should be defined as local variables (i.e., global variables are not allowed to use except of global constants) in the program. Otherwise, half of the points will be taken away from the following steps.
    Create and define a CarpetOrder class. The class should include:
    [5 points]Attributes (member variables): (1) length of each room, (2) width of each room, (3) type of carpet.
    [10 points] Activities (member functions): (1) constructor(s), (2) getters and setters for each attribute, (3) method for calculating the area of a room, (4) method for computing the carpet cost for the room based on the carpet type.
    [15 points] In your main function
    Prompt the user to enter name. Note: use getline(cin, identifier); statement to read string type input into 'identifier'.
    Prompt the user to input number of rooms. While the input is invalid, keep prompting the user to re-input (integer between 1 and 5). You should create a function to check the validity of the input information.
    Prompt the user to enter delivery distance. The delivery distance must be between 0 and 50 miles.
    Create an object for each room/space using an array of objects. For example, Room room_list[5]; creates an array of five Room objects.
    Prompt the user to enter length, width, and carpet type for each room. While the input is read, use setters to define the length, width, and carpet type of each room.
    Compute the total charge for the order. Include a function for computing the total charge (including the carpet cost, installation fee, discount if any, and delivery fee)
    Print the order information. Information to be printed: customer name, number of rooms, size of each room, type of carpet, and cost of the carpet for each room.
    Print total area, the distance for delivery, amount of discount, total charge (including delivery fee) at the end.


    [2 points] For the CarpetOrder class, define a header file (.h file) for class declaration and a .cpp file for member function definitions/implementations.
    [3 points] Add sufficient comments and make your program, especially the main function, as concise as possible.


    Monthly payment = $694.67

    Principal = $18000

    Rate = 0.023 (2.3%)

    Term = 13 ( 13 months)

    Monthly payment = $1403.26

    Add me on skype: mpgh_raindrops
    Last edited by [Raindrops]; 12-17-2016 at 10:56 PM.

  2. #2
    Tightmarrow's Avatar
    Join Date
    Dec 2016
    Gender
    male
    Posts
    40
    Reputation
    31
    Thanks
    21
    I'll do them for free if you want
    Give me some time, I'll edit this post.

  3. #3
    MyOldFriend's Avatar
    Join Date
    Dec 2016
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Tightmarrow I really need help with this one
    In this assignment, you are asked to write a program for an online carpet store to process installation orders. Each order includes the following information: (1) name of the customer, (2) number of rooms, (3) size of each room, type of carpet (premium or standard), and (5) distance for delivery. The charge information on an order is as follows:

    The price of a square foot of a premium carpet is $25 and a standard carpet is $10.
    A 20% off discount is applied to the total charge (before adding delivery fee) when a customer orders carpet for more than 1000 square feet.
    If the distance is 0 (i.e. self-pickup), no delivery fee. Otherwise, it is $2.50 per mile.
    Price of installation is $5 per square foot.
    In order to reduce the complexity of the program, assume each order contains no more than 5 rooms.

    Customers may order different types of carpets for different rooms.

    You may use the Rectangle Class as a guide.

    Requirements:

    Note: All variables should be defined as local variables (i.e., global variables are not allowed to use except of global constants) in the program. Otherwise, half of the points will be taken away from the following steps.
    Create and define a CarpetOrder class. The class should include:
    [5 points]Attributes (member variables): (1) length of each room, (2) width of each room, (3) type of carpet.
    [10 points] Activities (member functions): (1) constructor(s), (2) getters and setters for each attribute, (3) method for calculating the area of a room, (4) method for computing the carpet cost for the room based on the carpet type.
    [15 points] In your main function
    Prompt the user to enter name. Note: use getline(cin, identifier); statement to read string type input into 'identifier'.
    Prompt the user to input number of rooms. While the input is invalid, keep prompting the user to re-input (integer between 1 and 5). You should create a function to check the validity of the input information.
    Prompt the user to enter delivery distance. The delivery distance must be between 0 and 50 miles.
    Create an object for each room/space using an array of objects. For example, Room room_list[5]; creates an array of five Room objects.
    Prompt the user to enter length, width, and carpet type for each room. While the input is read, use setters to define the length, width, and carpet type of each room.
    Compute the total charge for the order. Include a function for computing the total charge (including the carpet cost, installation fee, discount if any, and delivery fee)
    Print the order information. Information to be printed: customer name, number of rooms, size of each room, type of carpet, and cost of the carpet for each room.
    Print total area, the distance for delivery, amount of discount, total charge (including delivery fee) at the end.


    [2 points] For the CarpetOrder class, define a header file (.h file) for class declaration and a .cpp file for member function definitions/implementations.
    [3 points] Add sufficient comments and make your program, especially the main function, as concise as possible.


    Guidelines for programming assignment:



    For your final program please add the following comments to the main function



    /*

    * Names of classes you defined:

    * Date of creation:

    * Date of modification:

    * Author:

    **/

    Please comment your code to describe what you are doing. Your creativity is welcome.
    Please choose meaningful variable names and avoid the variables such as h1, d1, etc.
    You should debug and test your program to make sure your program has no syntax and logical errors. If you have any problem running your code, please document them by comments as well.


    A sample output:

    This program will calculate the cost of carpet installation.
    Please enter your name: Ray Smith
    Enter the number of rooms: 3
    Enter distance for delivery: 30

    Enter the length of the first room: 20
    Enter the width of the first room: 30
    Enter carpet type (p for premium carpet, s for standard carpet): p


    Enter the length of the next room: 20
    Enter the width of the next room: 40
    Enter carpet type (p for premium carpet, s for standard carpet): s


    Enter the length of the next room: 10
    Enter the width of the next room: 30
    Enter carpet type (p for premium carpet, s for standard carpet): s

    The following is your order details:

    Customer name: Ray Smith
    Number of rooms: 3
    Delivery distance: 30 miles
    Room 1 information: Size: 20x30, Carpet type: Premium, Cost of the carpet: $15000
    Room 2 information: Size: 20x40, Carpet type: Standard, Cost of the carpet: $8000
    Room 3 information: Size: 10x30, Carpet type: Standard, Cost of the carpet: $3000


    Total area: 1700 square feet
    Cost of the Carpet: $26000
    Cost of installation: $8500
    Discount : $5200
    Delivery charge: $75
    Total amount: $29375

    Please I need this before Midnight haha

  4. #4
    Tightmarrow's Avatar
    Join Date
    Dec 2016
    Gender
    male
    Posts
    40
    Reputation
    31
    Thanks
    21
    Quote Originally Posted by MyOldFriend View Post
    Tightmarrow I really need help with this one
    In this assignment, you are asked to write a program for an online carpet store to process installation orders. Each order includes the following information: (1) name of the customer, (2) number of rooms, (3) size of each room, type of carpet (premium or standard), and (5) distance for delivery. The charge information on an order is as follows:

    The price of a square foot of a premium carpet is $25 and a standard carpet is $10.
    A 20% off discount is applied to the total charge (before adding delivery fee) when a customer orders carpet for more than 1000 square feet.
    If the distance is 0 (i.e. self-pickup), no delivery fee. Otherwise, it is $2.50 per mile.
    Price of installation is $5 per square foot.
    In order to reduce the complexity of the program, assume each order contains no more than 5 rooms.

    Customers may order different types of carpets for different rooms.

    You may use the Rectangle Class as a guide.

    Requirements:

    Note: All variables should be defined as local variables (i.e., global variables are not allowed to use except of global constants) in the program. Otherwise, half of the points will be taken away from the following steps.
    Create and define a CarpetOrder class. The class should include:
    [5 points]Attributes (member variables): (1) length of each room, (2) width of each room, (3) type of carpet.
    [10 points] Activities (member functions): (1) constructor(s), (2) getters and setters for each attribute, (3) method for calculating the area of a room, (4) method for computing the carpet cost for the room based on the carpet type.
    [15 points] In your main function
    Prompt the user to enter name. Note: use getline(cin, identifier); statement to read string type input into 'identifier'.
    Prompt the user to input number of rooms. While the input is invalid, keep prompting the user to re-input (integer between 1 and 5). You should create a function to check the validity of the input information.
    Prompt the user to enter delivery distance. The delivery distance must be between 0 and 50 miles.
    Create an object for each room/space using an array of objects. For example, Room room_list[5]; creates an array of five Room objects.
    Prompt the user to enter length, width, and carpet type for each room. While the input is read, use setters to define the length, width, and carpet type of each room.
    Compute the total charge for the order. Include a function for computing the total charge (including the carpet cost, installation fee, discount if any, and delivery fee)
    Print the order information. Information to be printed: customer name, number of rooms, size of each room, type of carpet, and cost of the carpet for each room.
    Print total area, the distance for delivery, amount of discount, total charge (including delivery fee) at the end.


    [2 points] For the CarpetOrder class, define a header file (.h file) for class declaration and a .cpp file for member function definitions/implementations.
    [3 points] Add sufficient comments and make your program, especially the main function, as concise as possible.


    Guidelines for programming assignment:



    For your final program please add the following comments to the main function



    /*

    * Names of classes you defined:

    * Date of creation:

    * Date of modification:

    * Author:

    **/

    Please comment your code to describe what you are doing. Your creativity is welcome.
    Please choose meaningful variable names and avoid the variables such as h1, d1, etc.
    You should debug and test your program to make sure your program has no syntax and logical errors. If you have any problem running your code, please document them by comments as well.


    A sample output:

    This program will calculate the cost of carpet installation.
    Please enter your name: Ray Smith
    Enter the number of rooms: 3
    Enter distance for delivery: 30

    Enter the length of the first room: 20
    Enter the width of the first room: 30
    Enter carpet type (p for premium carpet, s for standard carpet): p


    Enter the length of the next room: 20
    Enter the width of the next room: 40
    Enter carpet type (p for premium carpet, s for standard carpet): s


    Enter the length of the next room: 10
    Enter the width of the next room: 30
    Enter carpet type (p for premium carpet, s for standard carpet): s

    The following is your order details:

    Customer name: Ray Smith
    Number of rooms: 3
    Delivery distance: 30 miles
    Room 1 information: Size: 20x30, Carpet type: Premium, Cost of the carpet: $15000
    Room 2 information: Size: 20x40, Carpet type: Standard, Cost of the carpet: $8000
    Room 3 information: Size: 10x30, Carpet type: Standard, Cost of the carpet: $3000


    Total area: 1700 square feet
    Cost of the Carpet: $26000
    Cost of installation: $8500
    Discount : $5200
    Delivery charge: $75
    Total amount: $29375

    Please I need this before Midnight haha
    I'll see what I can do, wait.
    Edit: This is mindfuck retarded
    Last edited by Tightmarrow; 12-20-2016 at 08:08 AM.

Similar Threads

  1. will pay for there.com hack
    By supatanka in forum Suggestions, Requests & General Help
    Replies: 5
    Last Post: 10-18-2008, 04:50 PM
  2. Searching working MU Online global HAck and i PAY FOR IT!!!!
    By rexx89 in forum General Game Hacking
    Replies: 1
    Last Post: 02-27-2008, 09:10 AM
  3. Paying for hacks!
    By 9sam1 in forum General Game Hacking
    Replies: 7
    Last Post: 02-27-2008, 08:40 AM
  4. can i pay for vip using sms
    By tacosrcheap in forum WarRock - International Hacks
    Replies: 8
    Last Post: 12-13-2007, 05:41 AM
  5. Paying For Server Emu
    By 9sam1 in forum General Game Hacking
    Replies: 36
    Last Post: 09-23-2006, 09:43 PM