Login


Lost your password?

Don't have an account ?
Register (It's FREE) ×
  


Shop
Java All : Series Printing


Solved Problems
Series problems #7260 

Using switch statement, write a menu driven program for the following:

(i) To find and display the sum of the series given below:
S = x1 – x2 + x3 – x4 + x5 … – x20, where x = 2.
(where x = 2)

(ii) To display the following series:
1 11 111 1111 11111
For an incorrect option, an appropriate error message should be displayed.

Using switch statement, write a menu driven program for the following: (i) To find and ...
Exam Questions
ICSE2017-06A  Series problems #7260 

Using switch statement, write a menu driven program for the following:

(i) To find and display the sum of the series given below:
S = x1 – x2 + x3 – x4 + x5 … – x20, where x = 2.
(where x = 2)

(ii) To display the following series:
1 11 111 1111 11111
For an incorrect option, an appropriate error message should be displayed.

Using switch statement, write a menu driven program for the following: (i) To find and ...

Solved Problems:1  Exam Questions:1 
Back