Write a C program to accept a string S is passed as the input. S has at least one repeating character. The program must print the first repeating character C.
Input Format:
The first line contains S.
Output Format:
The first line contains C.
Boundary Conditions:
Length of S will be from 3 to 100.
Example Input/Output 1:
Input:
abcdexyzbwqpoolj
Output:
b
Answers
Answered by
0
Answer:
pqgsozna,tpqla Iaqpaapql an fall ospappqpazp
Similar questions
English,
5 months ago
Math,
5 months ago
Social Sciences,
5 months ago
Math,
10 months ago
Chemistry,
1 year ago