Variable Declaration Challenges

Declare 5 integers, 3 floats, 2 characters, 1 string, and 1 boolean in the following order:

        int x = 5;
        int y = 10;
        float pi = 3.14;
        float e = 2.71;
        char c1 = 'A';
        char c2 = 'B';
        char c3 = 'C';
        string s = "Hello, World!";
        boolean b = true;
    

What happens when you try to add 5 and 10 together?

Next challenge: Conditional Statements

Remember, debugging is not just about fixing bugs, it's about finding creative ways to break things.