a) What is the least number of times the body of a while loop can be executed?
b) What is wrong with the given loop:
sum += n*n;
c) prepare a program which reads the prices of zero or more items, and displays the total price with 14% sales tax added.
problem 2: prepare a program which reads in two floating point numbers and then performs one of four operations on them: addition, subtraction, multiplication or division. The program should ask the user which one of the operations to perform. Use a switch statement to perform the right operation and display the result.
problem 3: The given program is not compiling. Describe the problem and reprepare the codes below so as to make the program compile properly.
using namespace std;
void PrintCurved(int grade);
int studentNo, grade;
cout << "Enter student number and grade:";
cin >> studentNo >> grade;
void PrintCurved(int grade)
cout << "The curved grade for student ";
<< studentNo << " is "
<< grade + 10 << endl;