) The following C++ program executes infinitely. Identify the statements which arecausing this program to run infinitely, correct the program to stop infinite executionof this program, and write the output of the program after it is corrected.#include using namespace std;int main(void){int Number =6;int iterator=0;int L_cont = 0;while(iterator<>{L_cont = iterator+1;while(L_cont>0){L_cont++;cout<>}cout<>}return 0;}b) The students of GCET study 4 modules at level 0, Program design andImplementation, Engineering Experimentation, Professional and academic Skills,and Foundation Mathematics. You are required to write a C++ program whichwill take the marks of all modules and then will display the average resultbased on classification boundaries as follows:i. 70% or 70%+ First class honoursii. 60%-69% Upper second classiii. 50%-59% Lower second Classiv. 40%-49% Third Classv. 0-39% FailEnd of Ex
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here