No Description
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) 8 years ago
..
src INIT: task3 (and corrected files/hw1.txt) 8 years ago
tests INIT: task3 (and corrected files/hw1.txt) 8 years ago
README.md INIT: task3 (and corrected files/hw1.txt) 8 years ago

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.