Question: this is using visual studio 1) Write an application that reads an integer from the user, then determines and displays whether it is odd or

 this is using visual studio 1) Write an application that reads
this is using visual studio

1) Write an application that reads an integer from the user, then determines and displays whether it is odd or even. If the number is even, the application displays the message "The number is even", otherwise it displays the message "The number is odd". The solution should be named OddorEven. 2) Write an application that reads two integers, determines whether the first is a multiple of the second and displays the result. If it is a multiple, the application displays the message that the first number is a multiple of the second, otherwise it displays that the first number is NOT a multiple of the second. The solution should be names Multiples. 3) In chapter 3, you have learned about integers and the type int. C# can also represent floating-point numbers that contain decimal points, such as 3.14159 (the value of PI). Write an application that reads from the user the radius of a circle as an integer and displays the circle's diameter, circumference and area using the floating-point value 3.14159 for n. (Note: You may also use the predefined constant Math.PI for the value of n. This constant is more precise than the value 3.14159. Class Math is defined in namespace System). Use the following formulas (r is the radius): diameter 2r circumference = 2nr area = nr The values produced by the circumference and area calculations are floating- point numbers. The solution should be named CircleCalculations

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!