1. Write a for statement that computes the sum of the first ten even integers. Perform the same computation using a while statement.
2. Write a for statement that raises a real number to an integer power. Perform the same computation using a while statement.
3. Given a positive integer n in the variable number, write a for statement that computes the sum of n real numbers entered by the user. Perform the same computation using a while statement.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here