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!
3
Write a C program that calculates the average of two notes.7
What is the size of a long long in C++?2
Write a C program to calculate the total number of sweets.2
Write a C function to swap two integers.4
Undefined behavior.1
What does the following code refer to: C:\ProgramFiles\QtCreator\text.txt ? 3
Find the sum of all even numbers in an array in C