We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 2
di Output: 5
Enter a value of n: 4 Output 5
‘The sum of the series is 76.0
Player Name?:Rohit Sharma
‘Score: 264
Output: Player Name? VirenderSehwag,
Score: 219
Enter a String: school Player Name?:Sachin Tendulkar
‘The Mirror image of the given string is: loohcs Score: 200
Player Name®:Dhoni
Score: 190
Output: Player Name?:Sachin Tendulkar
‘Score: 250
Odd Numbers: {9,7,5,3,1} Player Name?:ViratKohli
. ‘Score: 148
Prime Numbers: {7,5 ,4,3,2} Player Name?.Ganguly
Union: {9,7,5,4,3,2,1} Score: 158
Player Name?:KapilDev
Intersection: {7,5 ,3} ‘Score: 175
Difference: {9,1} Player Name?:Amarnath
‘Score: 148
Symmetric Difference: {9 ,4 2,1} Player Name?:SunilGavaskar
‘Score: 200
Output: Player File created
Enter the name to be searched Sachin Tendulkar
(Sachin Tendulkar’, 200)]
Numbers from 1 to 10. ['Sachin Tendulkar’, 250)
[10,98 ,7,6,54,3,2,1]
‘The values after removed odd numbers...
[10,86 4,2]
di Output: 5
Enter a String: Welcome to Computer Science
The given string contains...
3 Uppercase letters
21 Lowercase letters
10 Vowels
17 Consonants
3 Spaces‘Output:
Enter 10 students names and thetr ages respectively:
Enter Name:Annamalat
Enter Age:17
Enter Name:Aashik Mathew:
Enter Age:23
Enter Age:20
Enter Name-Ramaa
Enter Age:70
Enter Name:Melvin
Enter Age:35
Displaying All the Records From student Table in Descending order of age
(Ramaa’, 70)
(Meena’, 65)
(CLeena’, 45)