mirror of
https://github.com/eddyem/lectures.git
synced 2026-03-20 08:41:01 +03:00
add 3 lectures for SFedU
This commit is contained in:
11
Komp_obr_SFedU/Materials4Pract/01/awkscript2
Normal file
11
Komp_obr_SFedU/Materials4Pract/01/awkscript2
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
if ($1 > 20)
|
||||
{
|
||||
x = $1 * 2
|
||||
print x
|
||||
} else
|
||||
{
|
||||
x = $1 / 2
|
||||
print x
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user