Sin descripción
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Michael Mächtel 42e2b8dfb4 INIT: task3 (and corrected files/hw1.txt) hace 8 años
..
src INIT: task3 (and corrected files/hw1.txt) hace 8 años
tests INIT: task3 (and corrected files/hw1.txt) hace 8 años
README.md INIT: task3 (and corrected files/hw1.txt) hace 8 años

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.