Question 3The names of the teams participating in a competition should be displayed on a banner vertically, to accommodate as many teams as possible in a single banner. Design a program to accept the names of N teams, where 2 < N < 9 and display them in vertical order, side by side with a …

Banner Read More »

Function Overloading on String (ICSE 2015 Question)

Design a class to overload a function Joystring() as follows: (i) void Joystring (String s, char ch1, char ch2) with one string argument and two character arguments that replaces the character argument ch1 with the character argument ch2 in the given string s and prints the new string. Example: Input value of s =”TECHNALAGY” ch1=’A’, …

Function Overloading on String (ICSE 2015 Question) Read More »

Unique String

A String is said to be ‘Unique’ if none of the alphabets resent in the string are repeated.  Write a program to accept a string and check whether the string is Unique or not.   Example :- Input: COMPUTER Output:Unique String Input: APPLICATIONS Output: Not a Unique String