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]
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]
Starting With C++: From Control Structures to Objects Programming Challenge 6-5: Calculating Falling Distance Write a function named fallingDistance that accepts an object’s falling time (in seconds) as an argument. The function should return the [More]
Design and implement an application that prints verses of the “Twelve Days of Christmas” song. Use a switch statement in the loop to control which line gets printed. Use a separate switch statement to put [More]
C# How to Program: Creating Bar Chart Using C# Nested Loops and C# If Statements – PART 2 of 2 Write a program that uses array and that allows any number of values between 0 [More]
Starting With C++: From Control Structures to Objects Write a program, that reads a sentence as input and converts each word to ‘Pig Latin’ In this version, to convert a word to Pig Latin, remove [More]
C# How to Program – C# Array of Objects 1. Modify the test class from Task 1 part 6 to create a fleet, add 4 cars to it, print the total value of the fleet to [More]
Programming Project 3-1: Creating Simple Calculator (from Intro to programming using Visual Basic) Write a program that allows the user to specify two numbers and then adds, subtracts, or multiplies them when the user clicks on [More]
Modify your solution to the previous exercise to add a ListBox. When the user selects an item from the ComboBox, remove the item from the ComboBox and add it to the ListBox. Your program should [More]
Using C# conditional statements, write an application that will enable you to display an aquarium’s pH level. The pH is a measure of the aquarium water’s alkalinity and is typically given on a 0-14 scale. [More]
Create class Rectangle.The class has attributes length and width, each of which defaults to 1. It has read-only properties that calculate the Perimeter and the Area of the rectangle. It has properties for both length [More]
Programming project 3-1: Composing Name (from JAVA Software Solutions, Foundations of Programming) Write a program that prompts for and reads the user’s first and last name (separately). Then print a string composed of the first letter [More]