UNCLASSIFIED

Skip to content
Snippets Groups Projects
Commit 04e5a713 authored by David Ellen's avatar David Ellen
Browse files

Upload New File

parent abe097ec
Branches
1 merge request!5Ps move activities to public for easier access by students and inclusion into private Field Guides
Pipeline #14543 passed with stage
in 11 seconds
===== Activity: Array Indexing and Math (1340-1410) Review to 1440
* Copy C:\file.txt to your Desktop
* Write a PowerShell scrip to do the following:
** Read file.txt on your desktop
** Extract the 135th(x), the 227th(y), the 578th(z) and the 892nd(n) numbers
** Add x and y and output the result
** Multiply x and z and output the result
** Subtract z from x and output the result
** Output (x + y) * (z – x) + (y + z)
** Output the (number of elements in the file) – (length of the nth element)
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