[go: up one dir, main page]

0% found this document useful (0 votes)
65 views9 pages

Programs

Uploaded by

rajagokulavarsni
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views9 pages

Programs

Uploaded by

rajagokulavarsni
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Class XI

Suggested List of Assignment to be Submitted in First Term Practical Exam

1) Write a program in Java to display all prime numbers from 2 to 100.


2) Write a program in Java to find the sum of:
(a) Positive even
(b) Positive odd
(c) Negative even
(d) Negative odd separately from a list of numbered by the user. The program terminates as soon as the
number entered is zero.
3) Write a program in Java to find the largest even and smallest odd number from a list of numbers entered by
the user. The program terminates as soon as zero is entered.
4) Write a program in Java to display all palindrome numbers from a list of integers. The program terminates as
soon as zero entered.

5) Write a program in Java to input a number and determine the number of digits. Now form an integer that has
the number of digits and most significant digit at one’s place. Display the number.
Sample Input = 2136
Sample Output = 46
6) Write a program in Java to display all square numbers between a range of given numbers.
Sample Input : 5 to 500
Sample Output: 9, 16, 25 ………………..
7) Write a program in Java to find the number of heads and tails that will be obtained if an unbiased coin is
tossed 100 times.
(Hint. Use of rand () and strand ())
8) Write a program in Java to accept a four digit number and print all the combinations of four different digits. No
digit should repeat more than once in the output.
9) Write a program in Java to find the sum of factorial of any ten numbers entered by the user.
10) Write a program in Java to enter a number and display:
(a) the sum of the digit
(b) the number of digits.
11) Write a program in Java to input a number and check whether it is a perfect number or not.
A number is said to be a perfect if all its factors including 1 and excluding the number itself is equal to the
original number.
Sample Input : 6
Sample Output : It is a perfect number. (6=1 + 2 +3)
12) Write a program in Java to enter two number containing three digits or more. Add and display the number of
digits present in even position (taken from left to right)
Sample Input : 74592
No. of digits in even position = 13 (i.e 4 and 9)

13) Write a program in Java to enter two numbers and check whether they are twin prime or not.
Twin Prime numbers are those consecutive prime numbers which differ by two.
e.g.: (11,13), (17,19),………………

14) Write a program in Java to arrange the digits of a number in descending order.
Sample Input : 6729
Sample Output : 9762

15) Write a program in Java to display all prime palindrome numbers from 100 to 10000.

16) Write a program in Java to enter a number and check whether it is a prime perfect number or not.
A number is said to be prime perfect if all the factors are prime including 1 and excluding the number itself.
The sum of all the factors along with 1 is equal to the original number.
Sample Input : 6
Sample Output : It is a prime perfect number. Since, the factors of 6 = 2 and 3 including 1 and also 6 =
1 + 2 + 3.
17) Write a program in Java to display all prime Fibonacci numbers from 100 to 10000.

18) Write a program in Java l to display all Pythagorean Triplets from 100 to 1000.
[Hint: 6, 8, 10 are said to be Pythagorean triplet.
Since, 62 + 82 = 102]

19) Write a Program on Java to display the given pattern :-


(a) (b)
0 0
1 2 1 2
3 4 5 3 4 5
6 7 8 9 9 8 7 6
5 4 3 5 4 3
2 1 2 1
0 0
(c) (d)

1 1
2 2 2 2
3 3 3 3 3 3
4 4 4 4 4 4 4 4
5 5 5 5 5 5 5 5 5 5
4 4 4 4 4 4 4 4
3 3 3 3 3 3
2 2 2 2
1 1

(e) (f)

1 5 4 3 2 1
3 3 3 4 3 2 1
5 5 5 5 5 3 2 1
7 7 7 7 7 7 7 2 1
9 9 9 9 9 9 9 9 9 1
7 7 7 7 7 7 7 2 1
5 5 5 5 5 3 2 1
3 3 3 4 3 2 1
1 5 4 3 2 1
(g) (h)

1 2 3 4 5 1 2 3 4 5 5 4 3 2 1
2 3 4 5 1 2 3 4 4 3 2 1
3 4 5 1 2 3 3 2 1
4 5 1 2 2 1
5 1 1
4 5
3 4 5
2 3 4 5
1 2 3 4 5
(i) (j)
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 1 2 3 4 6 7 8 9
2 3 4 5 6 1 2 3 7 8 9
3 4 5 1 2 8 9
4 1 9
3 4 5 1 2 8 9
2 3 4 5 6 1 2 3 7 8 9
1 2 3 4 5 6 7 1 2 3 4 6 7 8 9
1 2 3 4 5 6 7 8 9

l) m)
k) a 1 A A A A A
a a 2 2 B B B B * * * * * *
a a a 3 3 3 C C C * *
a a a a 4 4 4 4 D D * *
a a a a a 5 5 5 5 5 E * *
a a a a * *
a a a * * * * * *
a a
a

n) O) p)
*
* * * * a b c d c b a
* * * * * a b c c b a
* * * * * * a b b a
* * * * * * a a
* * * * * * a b b a
* * * * * a b c c b a
* * * * a b c d c b a
*
q) r) s)

*
* * * *
* * * * * *
* * * * * * * *
* * * * * * * * * *
* * * * * * * * * * * *
* * * * * * * * * *
* * * * * * * *
* * * * *
* *
t) u) v)

a
b c S I M P L E S
d e f S I M P L S I
g h i j S I M P S I M
k l m n o S I M S I M P L
g h i j S I S I M P L E
d e f S S I M P L
b c S I S I M P
a S I M S I M
S I M P S I
w) S I M P L E S
x)
B L U E J E U L B A A A A A 1
B L U E E U L B B B B B 2 2
B L U U L B C C C 3 3 3
B L L B D D 4 4 4 4
B B E 5 5 5 5 5
B L L B
B L U U L B
B L U E U L B
B L U E J E U L B

20) Write a program in Java to accept a character and check whether it is a letter or ot. If it is a letter then
change the case of the letter otherwise check ether it is a digit or a special character.

21) Write a program in Java to input a String and find the number of vowels present in the stirng.
Write a program in Java to input a word and check whether it is a palindrome or not. A word is said
Palindrome, if a new word formed by reversing the alphabets is same as the original word, e.g. ARORA,
MADAM………………
22) Write a program in Java to accept a sentence and convert ‘a’ to ‘an’ present in the string. The alphabet ‘a’
must not be the part of word present in the string.
Write a program in Java to accept a string/word and display the same in alphabetical order of its letters.
23) Write a program in Java to accept a sentence and find the frequency of word ‘the’ in the given sentence.
24) Write a program in Java to accept a word and display the word in Pig Latin Form. A word is said to be Pig
Latin by framing a new word with the first vowel present along with the remaining alphabets. The alphabets
present before the first vowel are being shifted towards the end followed by ‘ay’.for ex.
Input:- KING Output:- INGKAY
Input:- TROUBLE Output:- OUBLETRAY
25) Write a program in Java to accept two words in lower case and frame a new word by taking one by one
character from each word. Assuming that the length of both the words is same.
Write a program in Java to accept a String in a Mixed case and display the same in reversed order.
Write a program in Java to accept a string which includes all special characters like punctuation marks viz.
comma(,) , semi colon(;) double quote (“ ” ), single quote (‘ ’). The program counts the number of special
characters present in the given string.
26) Write a program in Java to store a sentence or a string in a mixed case and display the same in toggle case.
27) Write a program in Java to accept a string and replace the first alphabet of each word with ‘X’.
28) You can encode or decode a String in many ways. Replace each vowel by two characters ahead in ASSCI
table and each consonant by the next character to wrap around (i.e. A follows Z) Write a program in Java to
accept a word and encrypt as follows:
Word Encrypted From
Computer Dqnqwugs
29) Write a program in Java to accept any three-letter word and print all the probable three-letter combinations. No
letter should be repeated within the output.

30) Write a program in Java to accept a decimal number (base 10) and convert it into its binary equivalent. Display
the binary equivalent of the given decimal number.
Sample Input : Decimal Number = 45
Sample Output: The binary equivalent = 101101
31) Write a program in Java to store 10 different names in a single dimensional Array. Now, search whether a
given name, whose first character is entered by the user, is present in the array or not. If the name is present
then display the names otherwise, display “Name is Not Present”.

32) Write a program in Java to store 10 different names is a single dimensional array and display the names in
alphabetical (ascending) order.

33) Write a program in Java to store 10 different numbers in a Single Dimensional Array. Display the numbers
after eliminating duplicate numbers of the array.
Sample Input :
M[0] m[1] m[2] m[3] m[4] M[5] m[6] m[7] m[8] m[9]
69 45 45 25 34 40 34 41 29 16
Sample Output :
M[0] m[1] m[2] m[3] m[4] m[5] m[6] M[7]
69 45 25 34 40 41 29

34) Write a program in Java to store ten numbers each in two different Single Dimensional Array. Now, merge the
numbers of both the arrays in a single Dimensional Array. Display the elements of merged array.
Sample Input :
a[0] a[1] a[2] a[3] a[4] a[5] a[6] a[7] a[8] a[9]
69 45 45 25 34 40 34 41 29 16

b[0] b[1] b[2] b[3] b[4] b[5] b[6] b[7] b[8] b[9]
23 15 40 59 74 80 44 50 26 86

Sample Output:
c[0] c[1] c[2] c[3] c[4] c[5] c[6] c[7] c[8] c[9]
69 45 45 25 34 40 34 41 29 16

c[0] c[1] c[2] c[3] c[4] c[5] c[6] c[7] c[8] c[9]
23 15 40 59 74 80 44 50 26 86

35) Write a program in Java to store 10 different numbers in a Single Dimensional Array. Delete an element form
the array and display the new list after deletion.

Sample Input : Enter the number to be deleted: 45


a[0] a[1] a[2] a[3] a[4] a[5] a[6] a[7] a[8] a[9]
69 45 45 25 34 40 34 41 29 16

Sample Output : The new list after deleting an element from the array:
c[0] c[1] c[2] c[3] C[4] c[5] c[6] c[7] c[8]
69 45 25 87 40 34 41 29 16

36) Write a program in Java to display the pattern of Pascal’s Triangle.

1
1 1
1 2 1
1 3 3 1
1 4 6 4 1

37) Write a program in Java to input 10 different words and display the longest word and the length of the word.
Sample : Computer
School
Delhi
Education
…………..
………….
Sample Output : The longest word………………
The length of the word: ……….

38) Write a program in Java input a String in a mixed case and find the frequency of each vowel.
Sample Input : Delhi Public School.
Sample Output : The frequency of ‘a’ or ‘A’ : 0
The frequency of ‘e’ of ‘E’ :1
The frequency of ‘i’ of ‘I’ :2
The frequency of ‘o’ of ‘O’ :2
The frequency of ‘e’ of ‘U’ :1

39) Write a program in Java to accept a name containing three words and write the name in short form with the
initial.
Sample Input : MAHINDER SINGH DHONI
Sample Output: M.S. DHONI
40) Write a program to enter a string and print whether the string is palindrome or not.

41) Write a program to enter a string and print the string in the following manner
Input:- India is my country
Output:- aidnI si ym yrtnuoc
Yrtnuoc ym si aidni
country my is India

42) Write a program to arrange an integer array in ascending order using insertion sort technique.

43) Write a program to arrange an String array in ascending order using Bubble sort technique.

44) Write a program to arrange an integer array in ascending order using Selection sort technique.

45) Write a program to store the name and phone number of an employee in an array of size 10 and arrange
them in ascending order according to name along with phone number.
46) Write a program to store the name and age of an employee in an array of size 10 and arrange
them in ascending order according to age along with name.

47) Write a program to store the name and marks of 10 student in an array and print the name of the student
who has got the highest and minimum marks.

48) Write a program to delete any element from an array of size 10 and print the new modified array.

49) Write a program to insert any element at any position in array and print the new modified array.

50) Write a program to arrange the character of a word in ascending order.


Ex:- Input : computer Output:- cemoprtu

Suggested List of Assignment to be Submitted in Second Term Practical Exam

(Note:- Assignment given in first term can be revised)

1. Write a program in Java to store the nos. in 4x4 matrix in a Double Dimensional Array. Display the highest and
the lowest number among the stored numbers in the matrix.

Sample Input: Sample Output:


22 14 23 25
81 26 31 10 Highest 81
58 64 17 12 Lowest 12
55 33 26 14

2- Write a program in Java to store the nos. in 4x4 matrix in a Double Dimensional Array. Display the sum of:
(i) Left diagonal elements
(ii) Right diagonal elements.
(iii) Difference between the sum of left and right diagonal elements.
Sample Input : Sample Output :
22 14 23 25
81 26 31 10 Sum of left diagonal = 79
58 64 17 12 Sum of right diagonal = 175
55 33 26 14 The difference between left & right diagonal = 96
3- ‘Vishal Mega Mart’ has 4 floors and 6 different types of shops in each floor. Write a program in Java, which
keeps the daily sale of each shop of every floor. The manager wants to know the sale of particular shop of a
particular floor by entering the floor number and the shop number. The program displays the desired result.

Store No. 2322 1488 6523 9610 6525 Dept No.


8211 2698 3571 2547 6810
5854 6485 1799 8874 1982
5565 3325 2685 5574 1474
2547 2451 5478 4521 8541
2354 6100 6521 3665 2587

4- Transpose of a matrix means to change row elements into column and the column elements into rows Write a
program to store the number in a 4x4 matrix in Double Dimensional Array and display the transpose of the
matrix.

Sample Input : Sample Output :


22 14 23 25 22 81 58 55
81 26 31 10 14 26 64 33
58 64 17 12 23 31 17 26
55 33 26 14 25 10 12 14

5- Write a program in Java to store the numbers in a 4x4 matrix in Double Dimensional Array in such a way that
the elements of the left diagonal should be zero.
Sample Input: Sample Output:
22 14 23 25 0 14 23 25
81 26 31 10 81 0 31 10
58 64 17 12 58 64 0 12
55 33 26 14 55 33 26 0

6- Write a program in Java to store the numbers in a4x4 matrix in Double Dimensional Array. Arrange the
numbers of each row in ascending order and display the result.
Sample Input: Sample Output:
22 14 23 25 14 22 23 25
81 26 31 10 10 26 31 81
58 64 17 12 12 17 58 64
55 33 26 14 14 26 33 55
7- Write a program in Java to create a 4x4 matrix. Now swap the elements of 1st row and 4th row. Display the
result. (i.e. Interchange the elements of the 1st row with the 4th row).
Sample Input: Sample Output: Transpose of a Matrix

22 14 23 25 55 33 26 14
81 26 31 10 81 26 31 10
58 64 17 12 58 64 17 12
55 33 26 14 22 14 23 25

8- Write a program in Java to display the elements above the right diagonal in a 5x5
matrix.
Sample Input : Sample Output:
22 14 23 61 25 14 23 61 25
81 26 31 11 10 31 11 10
58 64 17 27 12 27 12
55 33 26 38 14 14
21 36 54 63 48
9- Write a program in Java to display the sum of the outer elements of a 4x4 matrix.

22 14 23 25
81 26 31 10
The sum of the outer elements = 373
58 64 17 12
55 33 26 14

10- Write a program in Java the sum of the elements, which are above and below the diagonal of a 5x5 matrix.
Sample Input :

22 14 23 61 23
81 26 31 11 10
58 64 17 27 12
55 33 26 38 14
21 36 54 63 48

Sample Output:
The sum of the elements above left diagonal of 5x5 matrix = 228
The sum of the elements below left diagonal of 5x5 matrix = 491
11- Write a program in Java to store the elements in two different matrices A and B of order 4x4. Find the product
of two matrices and store the result in another matrix C. Display the matrix C.

Sample Input: Enter the elements in Matrix A and Matrix B :


3 2 1 2 -2 -4 -1 0
6 4 5 0 3 6 -5 2
7 -1 0 2 5 3 4 6
4 3 1 1 0 -2 2 5

Sample Output: The products of two matrixes are:

5 -1 -5 20
25 15 -6 38
-17 -38 2 -8
6 3 -13 17
12- Write a program in Java to create a 4x4 matrix. Display the highest value of each row.
Sample Input:
13 22 14 23
16 34 15 33
71 -11 40 10
11 21 8 20
Sample Output: The highest value of 1st row = 23
The highest value of 2nd row = 34
The highest value of 3rd row = 40
The highest value of 4th row = 21

13- Write a program in Java to create a 4x4 matrix. Display the highest value of each column.
Sample Input:

13 22 14 23
16 34 15 33
71 -11 40 10
11 21 8 20

Sample Output: The highest value of 1st col = 71


The highest value of 2nd col = 22
The highest value of 3rd col = 15
The highest value of 4th col = 40
14- Write a program in Java to created a 4x4 matrix. Now, interchange the numbers of the given matrix in a
cyclic order in such a way that the 1st. row is shifted to 2nd. Row, 2nd row is shifted to 3rd. row, 3rd. row is
shifted to 4th. Row is shifted to 1st row.
Sample Input : Sample Output:
13 22 14 21 41 13 11 19
16 14 15 10 13 22 14 21
71 -11 10 12 16 14 15 10
41 13 11 19 71 -11 10 12
15- Write a program in Java to display the elements above the right diagonal in a 5x5
matrix.
Sample Input : Sample Output:
22 14 23 61 25
81 26 31 11 10 10
58 64 17 27 12 27 12
55 33 26 38 14 26 38 14
21 36 54 63 48 21 36 54 63 48

16- Write a program in Java to store the index number name of the student and the marks obtained in Computer
Applications of a class of 40 students. Write a program in Java to input Index Number, Name and the Marks.
Index No. Name Marks.
…………………… ………………………… ………………………
Calculate and display
(a) Average marks of the subject.
(b) The highest and lowest marks.
(c) The names with the index number, who have obtained more than the average
marks.
17- Write a program in Java to store 6 different numbers in a Single Dimensional Array. Display the difference of
successive elements.
Sample Input:
2 6 12 20 30 42
Sample Output :
2 6 12 20 30 42
4 6 8 10 12
2 2 2 2
0 0 0
0 0
0

18- Write a program in Java to input two Strings. Add the with a conjunction ‘and’ and display the new String.
Sample Input :
String 1: Microsoft Company has lunched Windows Vista an Operating System.
String 2: I requires 512 MB RAM
Sample Output: Microsoft Company has lunched Windows Vista an Operating System and It requires 512 MB
RAM.
19- Write a program in Java to input a String and check the frequency of palindrome words (containing 3 or more
characters) in the given string.
Sample Input: MADAM ARORA IS AN ENGLISH TEACHER.
Sample Output : Frequency of Palindrome word = 2
20- Write a program in Java to accept a word and count the number of characters, which differ to make the word
palindrome.
Sample Input : DILIP
Reverse Word : PILID
Sample Output : No. of characters which differ to make Palindrome word = 2
21- Write a program in Java to accept a name containing three words and write the name in short form with the
initial.
Sample Input : MAHINDER SINGH DHONI
Sample Output: M.S. DHONI
22- Write a program in Java to input a name containing three words and display the name with Surname followed
by the first name and middle name.
Sample Input : MAHINDER SINGH DHONI
Sample Output: DHONI, MAHINDER SINGH
23- Write a program in Java to accept a String and add ‘an’, if a word begins with a vowel.
Sample Input : WINDOWS VISTA IS OPERATING SYSTEM MANUFACTUTRED BY MICROSOFT
COMPANY.
Sample Output : WINDOWS VISTA IS AN OPERATING SYSTEM MANUFACUTED BY MICROSOFT
COMPANY.
24- Write a program in Java to input two Strings. Display the words, whose frequency is more than one in the
String.
Sample Input : MAHINDER SINGH DHONI THE CAPTAIN OF INDIA CRICKET TEAM.
SAURAV GANGULY IS THE EX-CAPTAIN OF THE INDIAN CRICKET TEAM.
Sample Output: THE
ON
INDIAN
CRICKET
TEAM
IS
25- Write a program in Java to input a String and without using library function change upper case characters to
lower case and vice-versa.
26- Write a program in Java to input a String an display only those words which begin with upper case character
and end with lower case character.
Sample Input : Mahinder Singh Dhoni became new captain of twenty twenty
world cup.
Sample Output : Mahinder Singh Dhoni
27- Write typing, a typewriter has made two or more consecutive bank spaces in a sentence. Write a program in
Java to replace two or more consecutive blanks by a single blank.
Sample Input : Understanding….………computer..………..science…….. ………..for……..ISC …………..is
written by …………… Vijay…………. Kumar Pandey......…..and……………. Dilip…………….Kumar………Dey.
Sample Output : Understanding Computer Science for ISC is written by Vijay Kumar Pandey and Dilip Kumar
Dey.

28- Write a program in Java to input a sentence and change the first alphabet of each word into upper case.
Sample Input : Mrs. Pratibha Patil is the present President of India.
Sample Output: Mrs. Pratibha Patil is The present President of India.

29- Write a program in Java to input sentence in upper and frame a word by adding first alphabet of each word.
Sample Input : MANMOHAN SINGH IS THE PRIME MINISTER OF INDIA
Sample Output: MSITPMOI

30- Write a program in Java to input a sentence in upper case and frame a word by adding the first alphabet of
each word and also arrange the alphabets of the new word in an alphabetical order.
Sample Input : MANMOHAN SINGH IS THE PRIME MINISTER OF INDIA
Sample Output : The new word: MSITPMOI
After eliminating duplicate alphabets : MSITPO
31- Write a program in Java to accept a sentence in a mixed case and replace all the vowels with ‘*’ sing.
Sample Input : We must be proud of being an Indian
Sample Output : W* m*st b* pr*d *f b**ng *n *nd**n.
32- Write a program in Java to accept a string and display all the words in Pig Latin form present in the string.
Sample Input : THE CAPITAL OF INDIA IS NEW DELHI
Sample Output : ETHAY APITALCAY OFAY INDIAYY ISAY EWDELHINAY
33- Write a program in Java to accept a sentence in lower case and display all the words present in the string in
an alphabetical order.

34- Mr. Chawla writes the text in SMS pattern (i.e. writing ‘R’ and ‘U’ instead of ‘ARE’ and ‘YOU’). Write a program
in Java to input a string and replace ‘R’ and ‘U’ with ‘ARE’ and ‘YOU’ respectively.
Sample Input : R U GOING TO DELHI ON A HOLIDAY TRIP?
Sample Output : ARE YOU GOING TO DELHI ON A HOLIDAY TRIP?
(Note : R and U should not be a part of the word.)

Suggested List of Assignment to be Submitted in Third Term Practical Exam

(Note:- Assignment given in First and Second Term has to be revised)

1- Write a program in Java to input two Strings. Display the words, whose frequency is more than one in the
String.
Sample Input : MAHINDER SINGH DHONI THE CAPTAIN OF INDIA CRICKET TEAM.
SAURAV GANGULY IS THE EX-CAPTAIN OF THE INDIAN CRICKET TEAM.
Sample Output: THE
ON
INDIAN
CRICKET
TEAM
IS
2- Write a program in Java to accept a string terminated by full stop. Arrange all the words in descending order of
their lengths. Same length of words should be stored alphabetically. Each word must start with upper case and
the sentence should be terminated by full stop.
Sample Input : This is the human resource department.
Sample Output : Department Resource Human This is.
Sample Input : To handle yourself use your head and to handle others use your heart.
Sample Output : Yourself Handle Handle Others Heart Head you’re your And Use Use To To.
3- Write a program in Java to accept a String and print the character, Which occurs the maximum number of
times within the String. Display the frequency of the character also.
4- Write a program in Java to accept a String and print all the consecutive and repeated charaters present in the
given string.
Sample Input : understanding computer science.
Sample Output : Consecutive Characters : Repeated Characters :
d u
e n
r e
s r
s s
t t
i
c

5- Write a program in Java to accept a word and arrange all the alphabets in ascending order. Display only those
alphabets which are not present in the word to make an alphabetical order i.e. from a - z
Sample Input : DELHI
Sample Output : DELHI
Alphabetical Order : DEFGHIJKL
Required Output : FGJK
6- Write a program in Java to accept a string which includes all special characters like punctuation marks
viz. apostrophe (’), full stop (.), comma (,), semi colon (;) etc. The program displays the string in reverse
order without using punctuation mark.
Sample Input : Emotions, controlled, and directed to work, shows the greatness of Swami Vivekananda.
Sample Output : Vivekananda Swami of greatness the shows work to directed and controlled Emotions.
7- Write a program in Java to accept a word and encrypt as follows.
Word Encrypted Form
Delhi eFmiJ
Kolkata IPmlBuB
Patna qBuoB
8- Write a program in Java to accept a word and encrypt as follows.
Word Encrypted From
Zeal XfbJ
Program Nppepbk
Anode Blpbf
________________________________________________________________________________________

You might also like