Here are some C++ programs I wrote.
You will have to download my file and then you can run it. They are all console programs that run in a Command Prompt window.
Please right click and Save Target As.
This is a simple interest rate calculator. You enter a number and it
multiplies it by a rate of 6.9%.
simpleIntrestRateCalc.exe
This is a simple input output program. It just asks you if you want to
continue. Exits when you don't. Nothing more.
simpleIO.exe
Artificial sweetener has killed some lab mice. Your friend consumes the same
type of sweetener. See if he will die from it.
saveYourFriend.exe
This is my vending machine. You get to put in money and buy products and get
change.
vendingMachine.exe
You enter a series of numbers and then the program calculates things like the
highest, lowest, total, number of odd and even numbers, and an average of the
numbers.
numberSeriesCalculator.exe
This program will be a tool that will allow you to keep track of the amount
of time you spend studying for each of your classes each week. At the end of
each week of school, you will use the program to enter in, one class at a time,
the class name, week number, and number of hours spent
studying for that class, that week. When you have entered this information for
all of your classes, your program will save the information in a file. The file
will be located wherever you have the program running from. You can then view
the information you entered. You can see the total time spent studying for one
week of class. You can also view the average time spent per class studying for
one week's classes. Yu can also view the average time spent per class studying
for one week's classes. And then view info on the classes you spent the most and
the least time studying for.
schoolWorkTracker.exe
This program calculates your had size, jacket size, and waist in inches based
on your height, age, and weight. I don't know how accurate this is.
clothingSizeCalculator.exe
This is a little game where you visit a store that sells husbands. This
program saves a file in the location that you run it from. There is a better
description of the program within the program.
HusbandMart.exe
This project is a modal text editor. You have 25 lines of text that you can edit. It's really just an exercise in using arrays and strings.
You can:
- add a line of text
- edit text
- replace words
- convert characters/words to uppercase/lowercase
- count the number of occurrences of a word
- delete lines
- switch two lines
- count vowels in a line
- copy and paste
modalTextEditor.exe