5. Modify program 4 so that it prints the number, square, and cube of only even numbers from 0 to 100 with the same format of output.
6. Write a program in C++ that will print all the numbers less than 2000 that are evenly divisible by 10 using
(i) if-else and goto statement (ii) for loop
(iii) while-do loop (iv) do-while loop The output should be like 10 20 30 .......
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here