説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Michael Mächtel 42e2b8dfb4 INIT: task3 (and corrected files/hw1.txt) 8年前
..
src INIT: task3 (and corrected files/hw1.txt) 8年前
tests INIT: task3 (and corrected files/hw1.txt) 8年前
README.md INIT: task3 (and corrected files/hw1.txt) 8年前

README.md

Homework hw1 task 3

task

Schreiben Sie eine Funktion count(line: &str, c: char) -> u64) welche zählt, wie oft ein gegebenes Zeichen © in einem gegebenen String (line) vorkommt und diese Anzahl zurück gibt. Z.B. soll der Aufruf count("peter", 'e') 2 zurückgeben.