C++ Coding Projects

Thank you for visiting my portfolio!

I am currently studying Computer Science at Fairleigh Dickinson University with a passion for software development.

My goal is to further expand software development and leadership skills in a professional environment that promotes teamwork through rigorous challenges.

Below you will find current projects I have created the C++ Language.

The purpose of this page is to showcase my skills while collaborating with other developers around the world.

Cheers!

-Dillon Pontes

LinkedIn Profile

WayUp Profile


Car Simulator

View Code

This program was a collaboration of my work and 3 other students at Fairliegh Dickinson University. The classes you we designed are:

The FuelGauge Class:

This class simulates a fuel gauge.

Its responsibilities are:

The Odometer Class

This class simulates the car’s odometer.

Its responsibilities are:

We demonstrateed the classes by creating instances of each.

We then simulate filling the car up with fuel when the program is initialized and then run a loop that increments the odometer until the car runs out of fuel.

During each loop iteration, car’s current mileage and amount of fuel is printed and the user is asked wheater or not they would like to continue driving.


BUDGET ANALYSIS TOOL

View Code

A program that creates and writes to a file named “Budget.txt” The program asks the user to enter the amount that he or she has budgeted for a month.
A loop then prompts the user to enter each of his or her expenses for the month and keep a running total.
The program writes both the expense name and corresponding expense, along with how much he or she is over-budget or under-budget to the file.


GEOMETRY CALCULATOR

View Code

A program that displays the following menu: Geometry Calculator

  1. Calculate the Area of a Circle
  2. Calculate the Area of a Rectangle
  3. Calculate the Area of a Triangle
  4. Quit

Includes input validation to make sure the user selects a valid menu option and does not input negative numbers for the measurements.


SQUARE DISPLAY

View Code

A program that asks the user for a positive integer no greater than 15. The program then displays a square on the screen using the character ‘X’. The number entered by the user will be the length of each side of the square. This program ends after 4 attempts and uses proper data validation tools.


SOFTWARE SALES

View Code

A software company sells a package that retails for $99. Quantity discounts are given at different rates.

This program asks for the number of units sold and computes the total cost of the purchase, displays the discount and determines how many more units are required to be bought to apply the next discount.


SPECTRAL ANALYSIS

View Code

If a scientist knows the wavelength of an electromagnetic wave, he or she can determine what type of radiation it is. This program asks for the wavelength of an electromagnetic wave in meters and then displays what that wave is.


CELSIUS TO FAHRENHEIT

View Code

A program that converts Celsius temperatures to Fahrenheit temperatures.


ANGLE CALCULATOR

View Code

A program that asks the user for an angle, entered in radians. The program then displays the sine, cosine, and tangent of the angle. The output is displayed in fixed-point notation, rounded to four decimal places of precision.


COOKIE RECIPE CALCULATOR

View Code

The recipe makes 48 cookies with this amount of the ingredients. This program asks the user how many cookies he or she wants to make, and then displays the number of cups of each ingredient for the specified number of cookies. The ingredients and amounts are in table form with 2 decimal points of precision and the decimal point always appearing.