[Solved] ASP Homework 1-c-sharp

30 $

File Name: ASP_Homework_1-c-sharp.zip
File Size: 207.24 KB

SKU: [Solved] ASP Homework 1-c-sharp Category: Tag:

Or Upload Your Assignment Here:


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.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] ASP Homework 1-c-sharp
30 $