* PowerShell 01_introduction_to_algorithms example * PowerShell 02_selection_sort example * PowerShell 03_recursion examples * PowerShell 04_quicksort examples * PowerShell 05_hash_tables examples * PowerShell 06_breadth-first_search example * PowerShell 07_dijkstras_algorithm example * PowerShell 08_greedy_algorithms example * Powershell 09_dynamic_programming example
21 lines
339 B
PowerShell
21 lines
339 B
PowerShell
function Write-GRKGreet2
|
|
{
|
|
param ($name)
|
|
Write-Host("how are you, " + $name + "?")
|
|
}
|
|
|
|
function Write-GRKBye
|
|
{
|
|
Write-Host "ok bye!"
|
|
}
|
|
|
|
function Write-GRKGreet
|
|
{
|
|
param($name)
|
|
Write-Host("hello, " + $name + "!")
|
|
Write-GRKGreet2 $name
|
|
Write-Host "getting ready to say bye..."
|
|
Write-GRKBye
|
|
}
|
|
|
|
Write-GRKGreet adit |