subject

Write Multiple Functions in a script call ConversionFunctions. ps1 The first function script ConvertToFeet($meters) is given as an example. Please complete ConvertToFahrenheit, ConvertTocelsius, ConvertToMiles, ConvertToKilometers ConversionFunctions. ps1

Function Script:ConvertToFeet($meters)

{

# Convert meters into to Feet

# 1 meter = (1 * 3.28) feet "$meters meters equals $($meters * 3.28) feet" }

#end ConvertToFeet

Function Script:ConvertToFahrenheit($celsius )

{

# Convert celsius into Fahrenheit

# 1 celsius = ((1.8 * 1) + 32) fahrenheit "write your answer here" }

#end ConvertToFahrenheit

Function Script:ConvertTocelsius($fahrenheit )

{

# Convert fahrenheit into celsius

"write your answer here"

}#end ConvertTocelsius

Function Script:ConvertToMiles($kilometer)
{

# Convert kilometer into miles

# 1 kilometer = (1 *.6211) miles

"write your answer here"

}#end convertToMiles

Function Script:ConvertToKilometers($miles)< br />
{

# Convert miles to kilometers

"write your answer here"

} #end convertToKilometers

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:20
Amedian in the road will be marked with a white sign that has a black arrow going to the left of the median. true false
Answers: 1
question
Computers and Technology, 23.06.2019 03:30
Many everyday occurrences can be represented as a binary bit. for example, a door is open or closed, the stove is on or off, and the fog is asleep or awake. could relationships be represented as a binary value? give example.
Answers: 1
question
Computers and Technology, 23.06.2019 05:00
In cell b18, enter a formula to calculate the amount budgeted for meals. this amount is based on the daily meal allowance and the total travel days (# of nights+1).
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
3. when you right-click a linked spreadsheet object, what commands do you choose to activate the excel features? a. linked worksheet object > edit b. edit data > edit data c. linked spreadsheet > edit d. object > edit data
Answers: 2
You know the right answer?
Write Multiple Functions in a script call ConversionFunctions. ps1 The first function script Convert...
Questions
Questions on the website: 13722363