Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. [uint16]$Product1 = Read-Host "Enter the price of your product: "
  2. ...
  3. #$TotalProducts contains the Value from all products together
  4. Write-Host "You spent an amount of $TotalProducts for todays shopping."
  5.  
  6. [math]::Round($Product1)[System.Midpoint.Rounding]::AwayFromZero) = Read-Host "Enter the price of your product: "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement