C++ - IN C++
Write a program that allows the user to input the number of days worked in a 7 day workweek and, using a fixed hourly rate, calculates the week’s wages and the average number of hours worked per day.
Classes and Enumerators - Write a program similar to the following: wavelength.cpp computes the wavelength of light for a fiven Color.
Input: theColor, a Color value
Precondition: theColor is one of RED, ORANGE, YELLOW, GREEN, BLUE, INDIGO, VIOLET
Output: the wavelegth of light corresponding to theColor,
but that uses the Color class hierarchy.
Files and Streams - Write a program that reads a text file and counts the characters in each line. The program should display the line number and the length of the shortest and longest lines in the file, as well as the average number of characters per line.
Programming Problems (Selection) - 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 metric value in outUnits and displays this value. The function should carry out the following conversions:
inUnits outUnits
I c (inches to centimeters; 1 in. = ...
C++ - C++
Write a program using enumerators that, when given a model of a vehicle, classifies it by manufacturer (e.g., Ford, Chevy) and by type (e.g., Sedan, SUV).
Using the following
MODEL MANUFACTURER TYPE
Tocama Toyota Pick-up
Ranger Ford Pick-up
Sportage kia suv
hummer gm ...