why why we add plus sign while doing a Java programming numerical problems
Answers
Answered by
2
Answer: Printing string in plus ‘+’ pattern in the matrix
Given a string, print it inside a matrix in such a way that a ‘plus’ is formed.
Examples:
Input: TOP
Output:
X T X
T O P
X P X
Input: FEVER
Output:
X X F X X
X X E X X
F E V E R
X X E X X
X X R X X
Explanation:
Similar questions