Question from the Language C - Fundamentals test

Archived

What does the following code return?

int main() 
    {    
        double price = 81.60
        switch (price)
        {
        case <99.9 :
            printf(“It is a reasonable price\n”);
        case >=100 : 
            printf(“Tt's too expensive !\n”);
            break;
        default :
            printf(“It's 99.9 euros”);
        }
        return 0;
        }
Author: KahinaStatus: Archived(New question!)Question passed 8 times
0
Community EvaluationsNo one has reviewed this question yet, be the first!