Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
Create a template that changes the value of 2 variables. (Hint: Use reference parameters since you will swap the variables within the function.)
Create a class that simulates an alarm clock. In this class you should:
Have the program prompt the user "Enter numerator and denominator" and store the two values entered.
Create a person class to represent a person. (Call the class personType.) To simplify things, have the class have 2 variable members for the person's
Define a class called Revenue that has 2 private members of demand and price. Include a constructor and a public function that calculates the RevenueValue
You are running a camp and must decide what activities to schedule. You decide to base the decision on the temperature measured in degrees Fahrenheit.
Write a function that takes an array of int as a parameter and returns a count of odd numbers in the array
Consider the following declaration: double passwords[100];
Design a class Numbers that can be used to translate whole dollar amounts in the range 0 through 9999 into an English description of the number
Create a C++ class named Employee that has the following member variables:
Create a program that uses a structure to store the following weather date for a particular month:
Imagine you are developing a software package that requires user to enter their own passwords. Your software requires that user passwords meet the following
A sequential search member function of SortedType has the following prototype:
Define two pointers that hold two values of type int. Add these two pointers of type "int" and print the result on the screen.
An Unsorted Type ADT is to be extended by the addition of function
Create a small program that will check for balancing symbols in C++. Look for:
Create an array of 26 components to do the letter count for the 26 letters in the alphabet and a variable for the line count.
Create a C program that has a declaration in main () to store the following numbers into an array named rates:2.3,3.3,4.4,5.5,6.0.
Expand the "Currency Conversion" program to include a menu that allows the user to choose which currency he/she wishes to display in its equivalency
Given two bit strings of length n (n equal or bigger 16), find the bitwise or the bitwise and XOR of these strings.
Create a program that asks students how many test they have taken so far in a course. The program should accept any number from 1 to 5
Write a function convertLength() that receives a real value and two strings inUnits and outUnits, then converts the value given in inUnits to the equivalent
Revernd Zeller developed a formula for computing the day of the week on which a given date fell or will fall. Suppose that we let a, b, c, and d be integers
Write a library Cylinder containing functions to compute the total surface area, lateral surface area, and volume of a right-circular cylinder.
Construct a library Time that contains the time-conversion functions (given a number of seconds, returns the equivalent number of minutes