Basic Programming Exercises

Monday, February 8, 2010

Exercise Set#7

›
Exercise 1 --- Adding up Squares and Cubes Write a program that adds up the squares and adds up the cubes of integers from 1 to N, where N ...
4 comments:

Exercise Set#6

›
Exercise 1 - Start to End Write a program that asks the user for a starting value and an ending value and then writes all the integers (inc...
2 comments:

Exercise Set#5

›
Exercise 1 --- Check Charge A bank has the following rule: if a customer has more than $1000 dollars in their checking account or more than...
2 comments:
Sunday, February 7, 2010

Exercise Set#4

›
Exercise 1 --- Internet Delicatessen Sam and Ella's Delicatessen wants a program to take orders from the internet. The program will acc...
1 comment:

Exercise Set#3

›
Exercise 1 --- Discount Prices During a special sale at a store, a 10% discount is taken on purchases over $10.00. Write a program that ask...
1 comment:

Exercise Set#2

›
Exercise 1 --- Power Consumption Write a program that calculates the annual cost of running an appliance given the cost per kilowatt-hour a...
1 comment:
Monday, January 11, 2010

Exercise Set#1

›
Exercise 1 --- Area of a Circle Write a program that calculates the area of a circle from the radius. The radius will be an integer read in...
2 comments:
Home
View web version
Powered by Blogger.