Write a PowerShell script (.ps1 file) to do the following. 1. Ask the user to input two floating point numbers 2. Calculate the addition, subtraction, multiplication and division of the two numbers and print the following result: Enter 1st floating Point number : 45.3 Enter 2nd floating Point number : 19.56 Basic Calculator by: Your Name ------------------------------------------ 45.3 + 19.56 = 64.86 45.3 - 19.56 = 25.74 45.3 * 19.56 = 886.068 45.3 / 19.56 = 2.3159509202454
Write a PowerShell script (.ps1 file) to do the following. 1. Ask the user to input two floating point numbers 2. Calculate the addition, subtraction, multiplication and division of the two numbers and print the following result: Enter 1st floating Point number : 45.3 Enter 2nd floating Point number : 19.56 Basic Calculator by: Your Name ------------------------------------------ 45.3 + 19.56 = 64.86 45.3 - 19.56 = 25.74 45.3 * 19.56 = 886.068 45.3 / 19.56 = 2.3159509202454
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section: Chapter Questions
Problem 7PP: (Numerical) Using the srand() and rand() C++ library functions, fill an array of 1000 floating-point...
Related questions
Question
Please no plagiaris.m....
Write a PowerShell script (.ps1 file) to do the following.
1. Ask the user to input two floating point numbers
2. Calculate the addition, subtraction, multiplication and division of the two numbers and print the following result:
Enter 1st floating Point number : 45.3
Enter 2nd floating Point number : 19.56
Basic Calculator by: Your Name
------------------------------------------
45.3 + 19.56 = 64.86
45.3 - 19.56 = 25.74
45.3 * 19.56 = 886.068
45.3 / 19.56 = 2.3159509202454
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning