1. Write a python program calculate the sum of the series using both for and while loop. 2/4+35+.. +n/(n+2)y 2. Write a python program to accept the CPGA, SPGA and IELTS score for 5 students using loops. For each person, check the following conditions: (1) SGPA>=2.75 & CGPA>=3 & IELTS >= 6.5- display 'Excellent Otherwise (i) 2.75>SGPA>=2.0 and 3>CGPA>=2 and 6.5>IELTS >= 5 - display Good otherwise (ii) Display Try Again cedure 1. Read the number 'n' and value for 'x',y' from the user. Calculate the sum of the series using while and for loop. Print the sum. 2. Accept the CGPA, SGPA and IELTS score of 5 students using any loop of your choice. Check the conditions given in the question and display the correct message for each person.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Aim
1. Write a python program calculate the sum of the series using both for and while loop.
2"/4Y+3/5Y+.
+n/(n+2)
2. Write a python program to accept the CPGA, SPGA and IELTS score for 5 students
using loops. For each person, check the following conditions:
(i)
SGPA>=2.75 & CGPA>=3 & IELTS >= 6.5 - display 'Excellent
Otherwise
(ii)
2.75>SGPA>=2.0 and 3>CGPA>=2 and 6.5>IELTS >= 5 - display · Good
otherwise
(iii)
Display ' Try Again'
Procedure
1. Read the number 'n' and value for 'x','y from the user.
Calculate the sum of the series using while and for loop. Print the sum.
2. Accept the CGPA, SGPA and IELTS score of 5 students using any loop of your choice.
Check the conditions given in the question and display the correct message for each
person.
6.944
13.88
20.833
27.77
34.72
41.66
48.61
55.55
Sample Output:
1.
Enter n:10
Enter x:3
Enter y:2
2.
Enter CGPA:2.5
Enter SGPA:2.5
Enter IELTS:5.5
Good
Transcribed Image Text:Aim 1. Write a python program calculate the sum of the series using both for and while loop. 2"/4Y+3/5Y+. +n/(n+2) 2. Write a python program to accept the CPGA, SPGA and IELTS score for 5 students using loops. For each person, check the following conditions: (i) SGPA>=2.75 & CGPA>=3 & IELTS >= 6.5 - display 'Excellent Otherwise (ii) 2.75>SGPA>=2.0 and 3>CGPA>=2 and 6.5>IELTS >= 5 - display · Good otherwise (iii) Display ' Try Again' Procedure 1. Read the number 'n' and value for 'x','y from the user. Calculate the sum of the series using while and for loop. Print the sum. 2. Accept the CGPA, SGPA and IELTS score of 5 students using any loop of your choice. Check the conditions given in the question and display the correct message for each person. 6.944 13.88 20.833 27.77 34.72 41.66 48.61 55.55 Sample Output: 1. Enter n:10 Enter x:3 Enter y:2 2. Enter CGPA:2.5 Enter SGPA:2.5 Enter IELTS:5.5 Good
Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY