Question
Code in C SharP(C#) Create your own library in VSC Create a library of your own. If you are working in a group you can
Code in C SharP(C#)
Create your own library in VSC
Create a library of your own. If you are working in a group you can choose ID of only one group member:
- If last digit of ID is 0 or 1 create a Library that multiplies 2 and / or 3 numbers (can be integers or not). You can call your methods Mult() or Multiply(), etc.
- If last digit of ID is 2 or 3 create a Library that finds a minimum of 2 and / or 3 numbers (can be integers or not). You can call your methods Min()or Minimum(), etc.
- If last digit of ID is 4 or 5 create a Library that finds a maximum of 2 and / or 3 numbers (can be integers or not). You can call your methods Max() or Maximum(), etc.- If last digit of ID is 6 or 7 create a Library that finds a average of 2 and / or 3 numbers (can be integers or not). You can call your methods Avg() or Average(), etc.
- If last digit of ID is 8 or 9 create a Library that finds a power of 2 and / or 3 numbers (can be integers or not). You can call your methods MyPow() or Power(), etc. For example: two integers are 2 and 3, your method MyPow() calculated 2 to the power of 3 = 8; if there is a third integer 4 bring 8 further to the power of 4 = 4095.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started