Programming Problems (types) - Write a program to read a student's number, his or her old grade point average, and the old number of course credits (e.g., 31479, 3.25, 66) and to then print these with appropriate labels. Next, read the course credit and grade of four courses-for example, course1Credits = 5.0, course1Grade = 3.7, course2Credits = 3.0, course2Grade = 4.0, andso on.
Calculate
old ...
Operations and Expressions - Write a program to read the lengths of the two legs of a right triangle and to calculate and display the area of the triangle (one-half the product of the legs) and the length of the hypotenuse (square root of the sum of the square of the legs).
Using Classes - Write a function to count ocurrences of a string in another string. Then write a driver program to input a string and then input several lines of text, using the function to count occurrences of the string in the lines of text.
**Note: I need the solution in C++ code.
Programming Problem (Selection) - An airline vice president in charge of operations needs to determine whether the current estimates of flight times are accurate. because there is a larger possiblity of variations due to wether and air traffic in the longer flights, he allows a larger error in the time estimates for them. He compares an actual flight time with the estimated flight time and consi...
Programming Problem (Selection) - Given: To locate the nearest numbered cross street for a given avenue address, the following algorithm can be used: cancel the last diget of the address, divide by 2, and add or subtract the number given in the following abbreviated table:
1st Ave. add 3
2nd Ave. add 3
3rd Ave. ...