networking
20.ch-1. Introduction to compuler
20ch-4. Introduction to HTML.
HTML
us
Bing
20 Ch-6. More on HTML:
Lists and tables.
2
Share
networking
20.ch-1. Introduction to compuler
20ch-4. Introduction to HTML.
HTML
us
Bing
20 Ch-6. More on HTML:
Lists and tables.
2
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
Write a menu driven program to perform the following: (Use switch-case statement)
(a)
To input a word from the user and print it in the following pattern:
(b)
S
52
3
To find the sum of the series givenbelow:
S = 1 + + + El up to n terms (Where x and n are to be inputted from the user)
2! 3!
Note: ! denotes the factorial of a number which is equal to the product of the numbers
starting from 1 till that number. Example: 5! - 1 x 2 x 3 x 4x5]