Question: sorry about that, this is for c# LAB Assignment 3 1. Data type conversion a. Create a decimal variable PI = 3.141592653589793238462643383 b. Convert it
LAB Assignment 3 1. Data type conversion a. Create a decimal variable PI = 3.141592653589793238462643383 b. Convert it to double, float, int data types, and display the values. C:\WINDOWS\system32\cmd.exe PI = 3.141592653589793238462643383 PI = 3.14159265358979 PI = 3.141593 PI = 3 C. Then, display "Please enter radius:" d. You are able to enter a number, e.g., 12.34 GN C:\WINDOWS\system32\cmd.exe PI = 3,141592653589793238462643383 PI 3.14159265358979 PI = 3,141593 PI = 3 Please enter radius: 12.34 e. Compute the area = radius * radius PI, and display the results. CAC WINDOWS\system32\cmd.exe PI = 3.141592653589793238462643383 PI = 3.14159265358979 PI = 3.141593 PI = 3 Please enter radius: 12.34 Area is 478.387906280978 Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
