Programming languages are of three types 1.Machine language 2.Assembly language…
Toggle means converting small letters into capital letter and capital letter into smal…
A string is said to be a palindrome if the given string is same when it is reversed. T…
The source code for given pattern is shown below: * * * * * * * * * * * * * * * * * * …