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, 23.06.2019 09:30
Light travels at a speed of 186,000 miles a second. the distance light travels in a year is 5,865,690,000,000 miles/year 5,865,695,000,000 miles/year 58,656,950,000,000 miles/year 6,789,000,0000 miles/year
Answers: 1
question
Computers and Technology, 23.06.2019 13:10
What is domain name system (dns)? allows dynamic ip address allocation so users do not have to have a preconfigured ip address to use the network converts ip addresses into domains, or identifying labels that use a variety of recognizable naming conventions the efficient coexistence of telephone, video, and data communication within a single network, offering convenience and flexibility not possible with separate infrastructures the integration of communication channels into a single service
Answers: 2
question
Computers and Technology, 23.06.2019 19:30
What are loans to a company or government for a set amount of time
Answers: 1
question
Computers and Technology, 24.06.2019 22:00
True or false technology is often discovered by accident
Answers: 2
You know the right answer?
Write Multiple Functions in a script call ConversionFunctions. ps1 The first function script Convert...
Questions
question
Mathematics, 09.04.2020 20:55
question
Mathematics, 09.04.2020 20:55
Questions on the website: 13722367