Commit 4c28ac5d authored by fd0002170's avatar fd0002170
Browse files

Update Woche 13- Übung

parent 54c8db06
Showing with 35 additions and 0 deletions
+35 -0
Befehle : git clone https://github.com/TheAlgorithms/C.git
Ausgaben: Cloning into 'C'...
remote: Enumerating objects: 1726, done.
remote: Counting objects: 100% (1726/1726), done.
remote: Compressing objects: 100% (759/759), done.
remote: Total 1726 (delta 929), reused 1726 (delta 929), pack-reused 0
Receiving objects: 100% (1726/1726), 631.93 KiB | 1.15 MiB/s, done.
Resolving deltas: 100% (929/929), done.
Befehle: find ./ -name "median.c"
Ausgaben:./numerical_methods/median.c
Befehle: gcc -o median median.c
Ausgaben: (keine Ausgabe)
Befehle: chmod 755 median
Ausgaben: (keine Ausgabe)
Befehle: ./median
Ausgaben: Median: 5
#include <time.h>
Befehle: nano median.c
Ausgaben: #include <time.h>
int main() {
srand(time(NULL)); // Initialisiere Zufallszahlengenerator
// Rest des Codes...
}
Befehle: gcc -o median median.c
Ausgaben: (keine Ausgabe)
Befehle: ./median
Ausgaben:Median: 7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment