

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Part-A
Use the logic learnt and code developed in part A to complete part B Part-B
Hint:
Sample Outputs Part-A
For part B follow the same output pattern
Task- Enter a positive integer N: 10 Between 1 and 10 Even Numbers 2 4 6 8
Press any key to terminate the program..
Task- Enter a positive integer A: 10 Enter a positive integer B: 20 Between 10 and 25 Even numbers 12 14 16 18 Press any key to terminate the program..
Task- Enter a positive integer A: 10 Enter a positive integer B: 20 Between 10 and 20 Even numbers | Square 12 144 14 196 16 256 18 324 Press any key to terminate the program..
Task- Enter a positive integer A: 10 Enter a positive integer B: 20 Enter the power N = 3 Between 10 and 20 Even numbers | Power (N=3) 12 1728 14 2744 16 4096 18 5832 Press any key to terminate the program..
Task- Enter a positive integer A: 10 Enter a positive integer B: 20 Enter the power N = 3 Between 10 and 20 Even numbers | Power (N=3) | Even Number Sum 12 1728 845692 14 2744 985420 16 4096 2458746 18 5832 6452154 Press any key to terminate the program..
Docsity.com