<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Typ…
Given a string , write a program to title case every first letter of words in string. Input:The first line consists of an integer T i.e number of test cases. The first and only line of each test case consists of a string s. Output:Print the required…