Exercise 5 - Due at 11:59:00 PM on Sunday, 02/13/2022 though Canvas All the problems can be solved in the same program. Here, we have shown each prroblem with the sample run. Problem 1: Write a C++ code snippet to print grade ranges for a particular letter grade in the class. Use the class syllabus for the grade ranges. You only need to consider the "letter". You can ignore the "+" and "-". For example, C+, C and C- would be considered the same grade. If the letter grade is not valid, print an error message. Sample Run (3 runs): 1. Enter the letter grade : B The grade was between 80 and 89.99 2. Enter the letter grade: K Invalid letter grade. 3. Enter the letter grade: A The grade was over 90 Problem 2: Write a C++ code snippet to print the first 400 even numbers (0 included) using a while loop. Sample Run: 0 2 4 6 . . . 794 796 798 Problem 3: Now, solve the same problem and (2) using a do-while loop. Sample Run: 0 2 4 6 . . . 794 796 798 Problem 4: Write a code snippet to print the sum of the first 200 even mumbers (0 included). Sample Output: The sum of the first 200 even numbers is : 39800 Problem 5: Write a code snippet to find the nth power of a number x. That is, read in a real number x and an integer n, and caclulate x raised to n. You may assume that neither x nor n will be 0. n will always be a positive number. You need to use a loop and accumulation for this. You are not allowed to use cmath functions. You do not have to account for overflow (as in, if the values overflow, it's ok). Sample Run 1: Enter x: 2 Enter the exponent n: 7 2^7 = 128 Sample Run 2: Enter x: 10.75 Enter the exponent n: 5 10.75^5 = 143562.932617