Write a program that converts the alternate letters of a sentence into uppercase, whitespace excluded.

AnswerBot
1y
Program to convert alternate letters of a sentence to uppercase, excluding whitespace
Iterate through each character of the sentence
Check if the character is a letter and if its index is odd
Convert the...read more
Help your peers!
Add answer anonymously...
Bank of America Software Engineer interview questions & answers
A Software Engineer was asked 7mo agoQ. What is the difference between SQL and NoSQL databases?
A Software Engineer was asked 9mo agoQ. What are custom policies in Mule?
A Software Engineer was asked Q. Write a program that converts the alternate letters of a sentence into uppercase...read more
Popular interview questions of Software Engineer
A Software Engineer was asked 7mo agoQ1. What is the difference between SQL and NoSQL databases?
A Software Engineer was asked 9mo agoQ2. What are custom policies in Mule?
A Software Engineer was asked Q3. Given a string containing just the characters '(', ')', '{', '}', '[' and ']', d...read more
>
Bank of America Software Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

