C#

star goldstar goldstar goldstar goldstar greyFemaleMale
10 Questions - Developed by: Bob - Developed on: - 776 taken

Can you see sharp?

  • 1
    How would you create a variable to store the amount of money you have?
  • 2
    How do you write text to the console?
  • 3
    Which datatype is used to store decimal numbers?
  • 4
    How to you save a users input from the console to a varible?

    Console output:
    Please write your name:
  • 5
    Will this for loop work?
    for(int I = 0; I > 3; i++)
    {
    doing stuff...
    }
  • 6
    Hvilken værdig gemmes I c?
    int a = 7;
    int b = 2;
    int c;
    a++;
    a = a + b
    c = a*2
  • 7
    Which output is written to the console in the following example?
    int a = 2;
    int b = 5;
    if( a > 2 || b > 8)
    Console.writeline("Yay!");
    elseif( a = 2 && b < 5)
    Console.writeline("Yuhoo!");
    else
    Console.writeline("Okay!");
  • 8
    What is most fun?
  • 9
    What is it Java programmers can't, that C# programmers can?
  • 10
    Which came first?

Comments (0)

autorenew