Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [uint16]$Product1 = Read-Host "Enter the price of your product: "
- ...
- #$TotalProducts contains the Value from all products together
- Write-Host "You spent an amount of $TotalProducts for todays shopping."
- [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