Site hosted by Angelfire.com: Build your free website today!

Programs

Pick a program, any program

Hello World:

This is a very basic program. All it does is print out "Hello world" on the screen. Hey, you have to start somewhere.

Fraction Programs:

Here are a few fraction programs. The following programs will add, subtract, multiply and divide fractions. The only thing is, the user cannot choose what numbers to use. To do that, you have to use a parse, which you will learn later on.

One Through 10:

In this program, you learn the "for" loop.  All this program will do is print the numbers one through 10 on the screen.

Mult of Seven:

This program will take all numbers (1-100) and tell you if they are a multiple of 7 or not.

Fib Num:

Ever heard of Fibonacci numbers? Yeah, neither have I. Anyway, this program will print them out.

Prime or Not:

This program will tell you if a number is prime or not. You will need to change the variable in order to change the number that the program uses. We will get to getting a number the user can select soon.

Frac Parse Programs:

The following programs will add, subtract, multiply and divide fractions. In this area, you will learn how to parse an integer. This will make it so the user can enter the numbers.

Frac Suite:

A suite of Fraction programs designed to take fractions and add, subtract, multiply, and divide them using different concepts to do each program.

Alphabetical Sorting:

This program will take names that are put into it and sort them alphabetically.

Letter Count:

This program will take a series quotes and tell you how many of each letter is in all of them.

GradeBook:

This program acts like a gradebook. It will print out grades and give you an average.

Caution!

Keep in mind for this program, the averages do not print on the right lines. The calculations are correct, but they do not print out right. I put this program up so you could get the basic idea of the program.

Multiply by Two:

This program will take a number and multiply it by two for a selected amount of times.

Caution!

There is a problem with this program. It works just fine in the lower numbers, but if you try to put something  to the 100th power, the number printed out will not be right. This is another program that I put up so you could get the basic idea of it.

Power of Two:

This program will take a number an put it to whatever power (up to 500) you want. I.E: 2^5 would be 32.

Deck Of Cards:

This program will show a deck of cards, and shuffle them.