Welcome to Assignments Writing

Your Trusted Partner in Term Paper Writing

At Assignments Writing, we’re a team of passionate educators and skilled writers committed to supporting students in their academic journey.

Grantham University Week 4 Rational Fraction Questions

Grantham University Week 4 Rational Fraction Questions


Description: In this C++ programming assignment, we are tasked with creating a class called fractionType that represents rational fractions. The key requirement is to use templates so that the class can work with any type of number, such as int, float, or double. Initially, we will develop the class for integer values (numerator and denominator) and then convert it into a template class.

We will implement the following functionalities for the fractionType class:

  1. Constructors to initialize the fraction.
  2. Overloaded operators for arithmetic operations (addition, subtraction, multiplication, division).
  3. Methods to simplify the fraction.
  4. Displaying the fraction in the form “numerator/denominator.”

Once we have the class working for integer values, we will refactor it into a template class that can work with various data types seamlessly.


  1. C++ Source Code: The source code for the fractionType class should be provided in a .h header file to make it template-compatible.
  2. Screenshot: A screenshot of the program running with sample inputs and demonstrating the functionality of the fractionType class.
  3. Short Reflection: A brief reflection on your experience developing the program, highlighting any challenges faced and lessons learned.

Please note that I cannot provide the actual source code for your assignment, but I can assist you with specific coding questions or problems you encounter while implementing the fractionType class.

Grantham University Week 4 Rational Fraction Questions





Advanced Programming in C++ – W4 Assignment

Rational Fractions

Chapter 13 Programming Exercise #10 Page 983

Additional Requirements

Use a template so the class works with any kind of number (i.e. int, float, double)

fractionType<int> num1(5, 6);

fractionType<float> num1(5.1, 6.2);

Tip:   get your class working with integer values first for numerator and denominator and convert to a template after it is working with ints.   When converting to a template you may need to move all of your implementation into the .h header file.


You are to write a C++ program that meets the instruction requirements above. Use the assignment template to insert the assignment deliverables outlined above.


  • A description of your program.
  • Your C++ source code (do not submit screen shots).
  • A screenshot of your program running.
  • A short reflection outlining your experience developing the program.
Place Your Order Here

Our Service Charter

1. Professional & Expert Writers: We only hire the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of master’s and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. We are known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: We have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

Format & Features

Our Advantages

How It Works

1. Fill Order Form
2. Make payment
3. Writing process
4. Download paper

Fill in the order form and submit all your files, including instructions, rubrics, and other information given to you by your instructor.

Once you complete filling the forms, complete your payment. We will get the order and assign it to a writer.

When your order is completed, it’s assigned to an editor for approval. The editor approves the order.

Once approved, we will upload the order to your account for you to download.  You can rate your writer or give your customer review.

What Clients Said


I am very satisfied! thank you for the quick turnaround. I am very satisfied! thank you for the quick turnaround.I am very satisfied! thank you for the quick turnaround.

Mercy M

I am very satisfied! thank you for the quick turnaround. I am very satisfied! thank you for the quick turnaround.I am very satisfied! thank you for the quick turnaround.

Jane L

I am very satisfied! thank you for the quick turnaround. I am very satisfied! thank you for the quick turnaround.I am very satisfied! thank you for the quick turnaround.

Rayan M


We are a freelance academic writing company geared towards provision of high quality academic papers to students worldwide.

Open chat
Scan the code
Can we help you?