Generate the pattern: | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Generate the pattern:

p (p is lower case) pO (p is lower case) PoK (o is lower case) pOkH (p and k are lower) PoKHA (o is lower) pOKHar (p , a and r are lower) POKhArA ( h and r are lower ) #without direct printing them.use numbers.

12th Oct 2017, 2:44 PM
Bishnu Aryal
Bishnu Aryal - avatar
4 Answers
+ 1
sum of position
13th Oct 2017, 12:42 AM
Bishnu Aryal
Bishnu Aryal - avatar
+ 1
if the sum of row and column of the letter is prime then it is written in lower case(starting from [1][1])
13th Oct 2017, 4:16 AM
Bishnu Aryal
Bishnu Aryal - avatar
- 1
what is the logical?
12th Oct 2017, 10:02 PM
Daniel
Daniel - avatar
- 1
I dont understand sorry
13th Oct 2017, 12:47 AM
Daniel
Daniel - avatar