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;
        }
0
Community EvaluationsNo one has reviewed this question yet, be the first!
2
Write a C function to swap two integers.8
What is the size of a long long in C++?2
Write a C program to calculate the total number of sweets.4
Find the sum of all even numbers in an array in C1
What does the following code refer to:  C:\ProgramFiles\QtCreator\text.txt ? 3
Write a C program that calculates the average of two notes.5
Undefined behavior.