Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Run if else.ps 1 - Visual Studio Code divison.ps 1 subtraction.psi.ps 1 modulo.ps 1 0 8 Users > W 0 8 4 6 1 7

Run
if
else.ps 1- Visual Studio Code
divison.ps 1
subtraction.psi.ps 1
modulo.ps 1
08
Users > W0846173> OneDrive - St. Clair College >MIT11> if
else.ps 1>dots
[int] $x= Read-Host "Enter the first number"
[int]$y = Read-Host "Enter the second number"
if ($x-gt$y)
Write-Host " ${x} is the larger number"}
else Write-Host " ${y} is the larger number"}
[string]$a = Read-Host "Enter your Username"
[string]$b =Read-Host "Enter Password"
if ( $a=
w0846173@myscc.ca - and $bRanveer 1234)
{Write-Host "welcome Ranveer to your college"}
else { Write-Host "Yirong Username and password"
}{
}
# Action to perform if the condition is true #>
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Databases A Tour

Authors: Shashi Shekhar, Sanjay Chawla

1st Edition

0130174807, 978-0130174802

More Books

Students also viewed these Databases questions

Question

Describe ERP and how it can create efficiency within a business

Answered: 1 week ago