use c# Programming  You invoke a method by its name followed by a pair of brackets and the usual semi-colon Write a method called DisplayPersonalInfo(). This method will display your name, school, program and your favorite course. Call the DisplayPersonalInfo() method from your program Main() method Write a method called CalculateTuition(). This method will prompt the user for the number of courses that she is currently taking and then calculate and display the tuition cost. (cost = number of course * 569.99). Call the CalculateTuition() method two times from the same Main() method as in question 1. Write a method call CalculateAreaOfCircle(). This method will prompt the user for the radius of a circle and then calculate and display the area.[A = πr2]. Call the CalculateAreaOfCircle() method twice from the same Main() method as in question 1. Use Math.Pi for the value of π Write a method call CalculateAreaOfTriangle(), that prompts the user for the base and height of a triangle and then calculate and display the area.[  ] Call the CalculateAreaOfTriangle() method twice from the same Main() method as in question 1. Write a method call CalculateSaleCommission(), that prompts the user for his sales figure, and then calculate and display his commission. (commission = 25% of sales in excess of 1000. If sales is equal to or below $1000.00 there is no commission) Call the CalculateSaleCommission() method three times from the same Main() method as in question 1. Write a method call DisplaySineTable(), that prompts the user for a starting value and an step size. The method will calculate and display a table (10 rows) of sine values based on the user input. Use the built-in method Math.Sin() to obtain the sine of an angle. e.g. if the starting value is 0.5 and the step size is 0.03 the method will display the following table: 0.50 0.4794 0.53 0.5055 0.56 0.5311 0.77 0.6961 The numbers in both columns MUST be right aligned. Call the DisplaySineTable() method from the same Main() method as in question 1. In a write a method called DisplayMenu() to display the following text on screen: ===========Narendra’s Computer Systems================ | 1. Display Personal Information | | 2. Calculate Tuition | | 3. Calculate Area Of A Circle | | 4. Calculate The Area Of A Triangle | | 5. Calculate Sales Commission | | 6. Display Sine Table | | 0. End program | | | ====================================================== Enter the number of your choice -> You may replace the instructor’s name with your name.Yodit  Add another method called ShowMenu() to your project. This method will call the method in question 7 continuously until the user presses 0. (You will have to invoke the method in a loop body, read in the user input as well as check the input). You will need to hook up all the methods that you wrote previously i.e. questions 1 to 6. Replace all the code from your Main() method with a single call to the

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

use c# Programming 

You invoke a method by its name followed by a pair of brackets and the usual semi-colon

  1. Write a method called DisplayPersonalInfo(). This method will display your name, school, program and your favorite course. Call the DisplayPersonalInfo() method from your program Main() method

    1. Write a method called CalculateTuition(). This method will prompt the user for the number of courses that she is currently taking and then calculate and display the tuition cost. (cost = number of course * 569.99). Call the CalculateTuition() method two times from the same Main() method as in question 1.

    2. Write a method call CalculateAreaOfCircle(). This method will prompt the user for the radius of a circle and then calculate and display the area.[A = πr2].
      Call the CalculateAreaOfCircle() method twice from the same Main() method as in question 1. Use Math.Pi for the value of π

    3. Write a method call CalculateAreaOfTriangle(), that prompts the user for the base and height of a triangle and then calculate and display the area.[  ]
      Call the CalculateAreaOfTriangle() method twice from the same Main() method as in question 1.

    4. Write a method call CalculateSaleCommission(), that prompts the user for his sales figure, and then calculate and display his commission. (commission = 25% of sales in excess of 1000. If sales is equal to or below $1000.00 there is no commission)
      Call the CalculateSaleCommission() method three times from the same Main() method as in question 1.

    5. Write a method call DisplaySineTable(), that prompts the user for a starting value and an step size. The method will calculate and display a table (10 rows) of sine values based on the user input. Use the built-in method Math.Sin() to obtain the sine of an angle. e.g. if the starting value is 0.5 and the step size is 0.03 the method will display the following table:
      0.50 0.4794
      0.53 0.5055
      0.56 0.5311

      0.77 0.6961
      The numbers in both columns MUST be right aligned. Call the DisplaySineTable() method from the same Main() method as in question 1.

    6. In a write a method called DisplayMenu() to display the following text on screen:

    ===========Narendra’s Computer Systems================
    | 1. Display Personal Information |
    | 2. Calculate Tuition |
    | 3. Calculate Area Of A Circle |
    | 4. Calculate The Area Of A Triangle |
    | 5. Calculate Sales Commission |
    | 6. Display Sine Table |
    | 0. End program |
    | |
    ======================================================
    Enter the number of your choice ->

    You may replace the instructor’s name with your name.Yodit 

    Add another method called ShowMenu() to your project. This method will call the method in question 7 continuously until the user presses 0. (You will have to invoke the method in a loop body, read in the user input as well as check the input). You will need to hook up all the methods that you wrote previously i.e. questions 1 to 6. Replace all the code from your Main() method with a single call to the
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 4 images

Blurred answer
Knowledge Booster
Class
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.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education