Solve the following problems completely. You must provide a hard copy of the programs and their outputs.  Write a C++ program that computes a student\'s grade for an assignment as a percentage given the student\'s score and the total points. The final score should be rounded up to the nearest whole value Using the ceil function in the  header file. You should also display the floating-point result up to 5 decimal places. The input to the program must come from a file containing a single line with the score and total separated by a space.  Write an interactive C++ program that inputs a name from the user in the following format  last, first middle  The program should then output the name in the following format first middle last  The program will have to use string operation to remove the comma from the end of the last name. Be sure to use proper formatting and appropriate comments in your code. The input should have an appropriate prompt, and the output should be labeled clearly and formatted neatly.  Write an interactive C++ program whose input is a series of 12 temperatures from the user. It should write out on file tempdata.dat each temperature as well as the difference between the current temperature and the one preceding it. The difference is not output for the first temperature that is input. At the end of the program, the average temperature should be displayed for the user via cout. For example, given the input data  34.5 38.6 42.4 46.8 51.3 63.1 60.2 55.9 60.3 56.7 50.3 42.2  file temdata.dat would contain  Be sure to use proper formatting and appropriate comments in your code. The input should be collected through appropriate prompts, and the output should be labeled clearly and formatted neatly.
1. Solution for Question 1
 #include <iostream>
 #include <fstream>   // To use definitions of Input/output stream class to operate on files.
 #include <cmath>   // To use ceil method
 #include <iomanip>   // To use std::setprecision
 using namespace std;
 int main (){
    std::ifstream line_stream(\"assignment_scores.txt\");
    int student_score, total_points;
    float grade;
    // extraction operator (>>) extracts the formatted input from line_stream buffer
    line_stream >> student_score >> total_points;
    // Percentage calculation
    grade = float( (student_score * 100)/total_points );
    cout << \"The student grade percentage is \" << ceil(grade) << endl;
    // std::setprecision(n) sets the precision parameter of the stream out or in to exactly n.
    cout << \"The score with 5 decimal precision is \" << fixed << setprecision(5) << grade;
 }