[SOLVED] ASP Homework 1-c-sharp

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon ASP-yzl6as.zip (467.6 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (1 vote)

 

In console application :

  • Write a C# program that computes y = sin(2x) + 5cos(x). The program should obtain the value of x from the user and prints the value of y.

Hint :: use math libraries . (math.sin) – (math.cos)

  • Write a C# program that inputs two integers from the keyboard, and prints the sum, difference, product, and division to the screen .

Hint :: use DataType.Parse  

  • Write a C# program to find the maximum and minimum number among three integer values entered by the user from the keyboard.
  • Write a C# program that accepts a person age and prints to which age category he/ she belongs as described in the table below :

Hint : Use nested if else structure 

  • Write a program that accepts the number of the day of the week and displays the name of the corresponding day. Assume Day 1 is Saturday, Day 2 is Monday, and so on. For example if you have entered 1 as your day number, the program should display “The day is Saturday.” as the output.

 

 

  • ASP-yzl6as.zip