Create the class SavingsAccount. Use the static variable annualInterestRate to store the annual interest rate for all account holders. Each object of the class contains a private instance variable savingsBalance, indicating the amount the saver [More]
Java Software Solutions – Foundation of Program Design Java Programming Challenge 3-7: Calculating Sine, Cosine, and Tan using Math and Random classes Write an app that generates a random integer in the range of 20 [More]
C# Programming Challenge: Grid Boxes With Numbers Create grid boxes with numbers inside them, using System.Drawing (C# Graphics Class, C# Font Class, C# Color Class, C# Pen Class and more) and WinForms. Learning to code? [More]
C# Programming Challenge: Searching and Sorting Part 3 (C# linear & binary search, C# bubble and selection sort) We continue with coding C# bubble sort and C# selection sort methods. Create a class named “SearchCount”. [More]
C# How To Program Homework 5.33: Multiples Of 2 (using While loops and Math.Pow) Write an app that keeps displaying in the console window the powers of the integer 2 – namely 2, 4, 8, [More]
C# How to Program Programming Challenge 8.34: Polling Program (using C# Arrays, Loops, 2D arrays, If statements) Write a simple polling program that allows users to rate five social-consciousness issues from 1 (least important) to [More]
First read in, from the attached file called Program.txt, a series of names and ages. You should not assume you know how many rows are in the file.  You will save the file to the c:\temp [More]
Implement the Shape hierarchy. Each TwoDimensionalShape should contain read-only abstract property Area to calculate the area of the two-dimensional shape. Each ThreeDimensionalShape should have read-only abstract properties Area and Volume to calculate the surface area [More]
Visual C# 2012 How To Program C# Programming Challenge 4.15: Target Heart Rate Calculator (C# OOP, C# Properties, C# objects) In this exercise we concentrate on C# OOP principles. We will create a class with [More]
Java Software Solutions: Foundation of Program Design Using Classes and Objects Programming Challenge 4.2 – Creating Dog Class (Java Classes, Objects, Methods) Design and implement a class called Dog that contains instance data that represents [More]
Write an inheritance hierarchy for classes Quadrilateral, Trapezoid, Parallelogram, Rectangle and Square. Use Quadrilateral as the base class of the hierarchy. Make the hierarchy as deep (i.e., as many levels) as possible. Specify the instance [More]
Using C# recursion, write C# recursive method Power(base, exponent) that, when called, returns ‘base exponent’ For example, Power(3, 4) = 3 * 3 *3*3. Assume that exponent is an integer greater than or equal to [More]