8. Programs:-
(a) WAP to enter a year and check whether it is leap year or not. (Check for century year also).
(b) WAP to enter the coefficients of a quadratic equation and calculate and print its roots.
(C) WAP to find the perimeter of a square, circle and rectangle as per the user's choice.
(d) WAP to enter a number and print the Fibonacci series upto that number of term.
(e) WAP to enter a number and check whether it is prime or not.
(f) WAP to enter two numbers and print their HCF and LCM.
(g) WAP to print the following pattern:-
DC B A
CBA
BA
A
(h) WAP to enter a string and check whether it is palindrome or not.
(1) WAP to enter a string and count the total number of alphabets, digits and special characters.
(1) WAP to enter a string and print the occurrences of a given substring.
(k) WAP to enter a list of numbers and replace each even element by its square and each odd
element by its cube.
(l) WAP to enter a list of strings and modify the list by deleting the first character from each
element of the list.
Answers
Answered by
0
Answer:
ehehehehehrhegegrgegrvrve
so easy
pls mark me as brainliestttttt
Similar questions