Data Structures C++ - 1. Write a program that allows the user to enter the last names of five candidates in a local election and the votes received by each candidate. The program should then output each candidate’s name, the votes received by that candidate, and the percentage of the total votes received by the candidate. Your program should also output the winner of the election. A sample out...
C ++ Exercise - I need a C++ program that reads students’ names followed by their test scores. The program should output each student’s name followed by the test scores and the relevant grade. It should also find and print the highest test score and the name of the students having the highest test score.
Student data should be stored in a struct variable of the type studentType, which
has ...
Queue C++ - Write a program that reads a line of text, changes each uppercase letter to lowercase, and places each letter both in a queue and onto a stack. The program should then verify whether the line of text is a palindrome.
Building Classes - Write a program to do rational number arithmetic, representing each rational number as a class that has instance variables for the numerator and the denominator. The program should read and display all rational numbers in the format a/b, or simply a if the denominator is 1. I have enclosed what I have however it doesn't work right. In c++
Input ---------------------------- O...
Data Structures Using C++ - Data Structures Using C++. See attached file for full problem description.