C# How To Program Homework 5.31: Displaying the Decimal Equivalent of a Binary Number (Loops and String.Substring) Write an app that inputs an integer containing only 0s and 1s (i.e., a binary integer) and displays [More]
C# Programming Challenge: Rock, Paper, Scissors Game (OOP, Enum, Switch statements) Purpose: This program will allow the user to play a series of rock, paper, scissors games. The program will determine the winner of each [More]
File Senate112.txt contains the members of the 112th Senate, before the 2012 election. File RetiredSen.txt contains members who left senate after 2012 election. File NewSen.txt contains newly elected senators in 2012 election. 1. Write a [More]
C# How To Program In this C# exercise we go over a basic use of C# methods. This is a C# for beginners tutorial. Write a method IntegerPower( base, exponent ) that returns the value [More]
Serendipity Booksellers Software Development Project— Part 3: A Problem-Solving Exercise 1. The Main Menu Modify the mainmenu.cpp program so it lets the user enter a choice from the menu. The choice will be a number [More]
For this chapter’s assignment you are going to modify the program so it works with an inventory file instead of an array of structures. You will still keep the BookData structure declarations you created in [More]
C# How to Program Programming Challenge 11.8: Account Inheritance Hierarchy Create an inheritance hierarchy that a bank might use to represent customers’ bank accounts. All customers at this bank can deposit (i.e., credit) money into [More]
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 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]