Happy Word Java Program | String | ISC Class 11, 12 Computer
Автор: Amplify Learning - with Alok
Загружено: 2020-04-11
Просмотров: 19826
Описание:
A 'Happy word' is define as:
Take a word and calculate the words value based on position of the letters in English alphabet. On the basis of words value, find the sum of the squares of its digit. Repeat the process with the resultant number until number equals 1(ONE). If the number ends with 1 then the word is called 'HAPPY WORD'. Write a program display a message accordingly.
SAMPLE INPUT :- VAT
PLACE VALUE of V=22, A=1, T=20.
Solution= 22120
2^2+2^2+1^2+2^2+0^2=13;
13=1^2+3^2=10;
10=1^2+0^2=1
SAMPLE OUTPUT:- A HAPPY WORD
String Program in Java
Class 11, 12 Computer ISC
********************************************
Ch-1 Number System : • Плейлист
Ch-2 Encodings (1's Complement and 2's Complement) All videos : • Плейлист
Ch-3 Propositional Logic & Logic gates (All videos) : • Плейлист
Truth Tables : • Плейлист
Array in Java (All videos) : • Array in Java
2D Array (All videos) : • 2D Array | Double Dimension Array in Java ...
String in Java (All videos) : • String in Java
File Handling in Java Part 1 : • File Handling in Java | Writing, Reading T...
********************************************
You can follow us here,
Twitter :- / alokmaurya95
Instagram :- / alokmaurya95
Facebook :- / amplifylearning
Check out our website :- amplifylearning.co.in
Email us at :- [email protected]
**********************************************
Join our youtube family, lets grow together!
Subscribe to Amplify Learning
/ amplifylearning
#AmplifyLearning #Computer
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: