DigiOz Multimedia, Inc

Stack Overflow Badge

Who Is Online

We have 19 guests and no members online

Login Form

C++

Pig Latin String Converter

The purpose of this program is to obtain an array string (word) from the user through the keyboard, and display the first and last letter of the word on the screen. If the first letter in the word entered by the user begins with a consonant, the first character of the word is moved to the last position and append "ay" is added to the end of it. However, if the word begins with a vowel, the program simply adds an "ay" to the end of the word.

Download | Source Code

Penny Accumulator

The purpose of this program is to calculate the accumulated value of pennies after each day, if we were to be given one penny to start the first day, and double each previous day thereafter for a certain number of days specified by the user. We would also like to know after how many days will we make at least $1,000,000.

Download | Source Code

Fraction Calculator Using Classes

The purpose of this program is to create an interface through which users can add, subtract, divide, and multiply two fractional numbers together. For this program to function, the user is prompted to enter the operation that is to be calculated in the format (a/b + c/d) on the keyboard, where the sign '+' can be replaced with either a '-', '*' or a '/' to perform the respective mathematical operation. The program then calculates the results from one of the following equations:

a/b + c/d = (a*d + b*c) / (b*d)
a/b - c/d = (a*d - b*c) / (b*d)
a/b * c/d = (a*c) / (b*d)
a/b / c/d = (a*d) / (b*c)

The divisor and the divident of the result are then assigned to two different variables. Those values are then simplified to the lowest terms, which are then displayed on the screen as the result of the calculation.

Download | Source Code

Order Value Calculator

The purpose of this program is to process the mail order house 5 given product orders in the quantities specified by the user. The user will first enter a product number, and a quantity for that product through the keyboard. The program will then calculate the total value of the order for that specific product, and ask the user if he/she wishes to add more products to this value. If the user response positive to this question by entering a "Y", the program will take the user through the loop again, and allow them to enter another product through the keyboard. Once the user is finished entering all the products in the quantity desired, the total value of orders is displayed on the screen, when the user responds to the question to continue entering a value with an "N" (standing for No).

Download | Source Code

Fraction Calculator

The purpose of this program is to create an interface through which users can add, subtract, divide, and multiply two fractional numbers together. For this program to function, the user is prompted to enter the operation that is to be calculated in the format (a/b + c/d) on the keyboard, where the sign '+' can be replaced with either a '-', '*' or a '/' to perform the respective mathematical operation. The program then calculates the results from one of the following equations:

a/b + c/d = (a*d + b*c) / (b*d)
a/b - c/d = (a*d - b*c) / (b*d)
a/b * c/d = (a*c) / (b*d)
a/b / c/d = (a*d) / (b*c)

The divisor and the divident of the result are then assigned to two different variables, which are displayed on the screen as the result of the calculation.

Download | Source Code

Math Operations

The purpose of this program is to take two numeric variables through the keyboard and return the sum, product, difference and quotient of the two numbers to the screen.

Download | Source Code

Fraction Calculator Using Structures

The purpose of this program is to create an interface through which users can add, subtract, divide, and multiply two fractional numbers together. For this program to function, the user is prompted to enter the operation that is to be calculated in the format (a/b + c/d) on the keyboard, where the sign '+' can be replaced with either a '-', '*' or a '/' to perform the respective mathematical operation. The program then calculates the results from one of the following equations:

a/b + c/d = (a*d + b*c) / (b*d)
a/b - c/d = (a*d - b*c) / (b*d)
a/b * c/d = (a*c) / (b*d)
a/b / c/d = (a*d) / (b*c)

The divisor and the divident of the result are then assigned to two different variables, which are displayed on the screen as the result of the calculation.

Download | Source Code

Integer Comparison

The purpose of this program is to compare several integers with each other and print the smallest of them to the screen. The number of integers to be compared will be entered by the user along with the first integer. The remaining integers will then be entered from the inside of an if statement one by one and compared to the previous integer to find the smallest of each pair.

Download | Source Code

Fraction Average Calculator

The purpose of this program is to allow a user to enter a number of fractions through the keyboard. These fractional numbers, will then be added together to obtain a total for all the fractions entered by the user. The total is then divided by the number of fractions entered by the user to calculate the Average of these sets of fractions. This program has been constructed through multiple files. In other words, there is a seperate file for the class definition, one for the members functions, and another for the driver of it.

Download | Source Code 1 - 2 - 3

Fraction Multiplication Table Generator

The purpose of this program is to generate a table of multiplication given a specific denominator of a fraction. This program has been constructed through multiple files. In other words, there is a seperate file for the class definition, one for the members functions, and another for the driver of it.

Download | Source Code 1 - 2 - 3

Fraction Addition

The purpose of this program is to create an interface through which users can add two fractional numbers together. For this, program to function, the user is first prompted to enter the first fraction in the form of a/b, then the second fraction in the form of c/d. The program then calculates the addition of these two fractions using the equation ((a*d)+(b*c))/(b*d). The divisor and the divident are assigned to two different variables, which are then displayed on the screen as the result of the calculation.

Download | Source Code

Share

Github Badge

Search

Custom Programming

Need a website or custom programming for your business? We can help you create Windows based Programs to help you with such tasks as generating sales reports, timesheets, client database and more. Our programmers use a variety of programming languages to help you design your ideal business or home application.

Contact Us