Answers for "Integer Types"

0

Integer Types

double myNum = 19.99D;
Console.WriteLine(myNum);
Posted by: Guest on May-31-2021
0

Integer Types

int myNum = 100000;
Console.WriteLine(myNum);
Posted by: Guest on May-31-2021
0

Integer Types

long myNum = 15000000000L;
Console.WriteLine(myNum);
Posted by: Guest on May-31-2021
0

Integer Types

int myNum = 5;               // Integer (whole number)
double myDoubleNum = 5.99D;  // Floating point number
char myLetter = 'D';         // Character
bool myBool = true;          // Boolean
string myText = "Hello";     // String
Posted by: Guest on May-31-2021
0

Integer Types

float myNum = 5.75F;
Console.WriteLine(myNum);
Posted by: Guest on May-31-2021

Browse Popular Code Answers by Language