- 2
Can you help me?
Write a program that uses your function to culculate how many times give letter meets int the given sequesnce. Use С-style string (without string library). The length of the string is not more that 20 symbols. You have to perform developed function N times. Note:Use pointers. Input: First line contains N(1<=N<=100). Then N lines are given in the following format : "one char" a space and that char array. Output: N lines in the following format: < number of occurrence > < character itself > in < given string > Samples: № Input Output 1 2 a abracadabra b babaluba 5 a in abracadabra 3 b in babaluba
1 Resposta
0
Ты походу обломался даже нормально скопировать?