Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

solve this question with c# programming QUESTION In this assignment you are required to create user defined functions. The functions should written in separate class

image text in transcribed

image text in transcribed

image text in transcribed

solve this question with c# programming

QUESTION In this assignment you are required to create user defined functions. The functions should written in separate class files. You are supposed to create at least 2 categories of functions. Each category should be have atleast 3 functions. The class files should only contain functions. Categories you select any 2 from the following: 1. Geometry 2. Trignometry 3. Shapes With Stars 4. Maths 5. Financial 6. Binary Suppose you select Geometry category functions, then you should add a class to your main program. And the class name should be selected by you and should be similar to the category. For example: GeometryFuncs.cs Suppose you select Geometry category functions, then you should add a class to your main program. And the class name should be selected by you and should be similar to the category. For example: GeometryFuncs.cs Later in in GeometryFuncs file you can write functions of your choice and there should be at least three functions of that category. Under geometry category functions such as areaOfcircle, circlecircumference, SquarArea, RectangleArea, perimeter , areaCylinder, areaCone and many more (you should write atleast 3 functions) Similarly we would select any 2 categories from above mentioned categories and in each category will have any three user defined functions in it. Each category should in written in a separate file (.cs). Later in the main function you will have a menu driven program written with options provided in it. Once the user select a function it should call the function. A user should be able to continue the process of calling a function of his choice until he wishes. Sample Menu: Main Menu 1. Trignometry 2. Binary 3. Exit Enter your choice (1/2/3): 1 Trignometry A) SIN B) COS C) Tan X) eXit Enter your choice (A/B/C/X): A (Note: If you want, you can also select your own topic, to include in the menu. You may also define more functions if you like)

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

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

More Books

Students also viewed these Databases questions