csharp_conversions_tasks.md - brainchildservices/curriculum GitHub Wiki
Conversion Qs:
-
Use the correct conversion method to convert the int variable to a string:
int myInt = 10; Console.WriteLine(Convert._______(______));
-
Fill in the missing parts to print a number put in by the user:
Console.WriteLine("Think of a number:"); int myNum = Convert.________(Console._______); Console.WriteLine("Your number is: " + myNum);
-
Create a program to convert from celsius degrees to Fahrenheit and Kelvin.
-
Your output should have option to enter celsius
-
Run after entring celsius should give output
-
For ref: https://dotnetfiddle.net/3Q96Vy
-
-
slides already contain some tasks: