投稿

C# Tutorial Footage No.2 [Conversion of Values]

original exercises found here in Japanese. https://ufcpp.net/study/csharp/exercise.html#1192 Task1: show the character code of any character typed into the console - note that in order to get the very first letter from console input you - need to set the index[0] after the Console.Readline() Task2: compare divisions are evaluated differently with different value types such as integer types and floating point number types SKIPPED!!! Task3: Observe how double type numbers are round up or round down

C# Tutorial Footage No.1

Task1: Showing my fabulous name on the console (Quick Help) IF the console shuts itself down right after your compiled code is executed, try; running your app via pressing [Ctrl + F5]. How to keep the console from shutting down when running your new Visual Studio Project Task2: "Echolalia" Read a line from the console and then return the same string back onto the console. Task3: Write a program that computes the Reciprocal of a complex number x + iy In this execercise you learn to parse the input into "double" type data using "Double.Parse Method" Task4: Compute a circle's area from its radius given This one was bit tricky since I needed to use "Math.Pi" as the constant number π Task5: Write a program that computes the BMI of a person when his/her body weight and height are to be given