Home > Back-end >  C small program with swicth statements output performance evaluation
C small program with swicth statements output performance evaluation

Time:09-30


I this method is preferable, now a little don't quite understand, hope to instruct me

CodePudding user response:

Have a great spirit to guide it to me

CodePudding user response:

Case 90... 100: is greater than or equal to the meaning of less than 100, 90 note is among the three points

CodePudding user response:

Line 12, case, no Spaces

CodePudding user response:

refer to the second floor CHXCHXKKK response:
case 90... 100: is greater than or equal to 90 <100, pay attention to three points is among
no such usage

CodePudding user response:

Input result except for business, then switch up?

CodePudding user response:

reference 4 floor lin5161678 response:
Quote: refer to the second floor CHXCHXKKK response:

Case 90... 100: is greater than or equal to 90 <100, pay attention to three points is among
no such usage

CodePudding user response:

refer to 6th floor CHXCHXKKK response:
Quote: refer to 4th floor lin5161678 response:

Quote: refer to the second floor CHXCHXKKK response:

Case 90... 100: is greater than or equal to 90 <100, pay attention to three points is among
no such usage


this is compiler dialectOnly work on a particular compiler

CodePudding user response:

refer to 6th floor CHXCHXKKK response:
unless you can determine the post compile environment to support this feature or this feature can not be described as a general rule

CodePudding user response:

 switch (n/10) {
Case 10: case 9:
break;
Case 8:
break;
.
.

Can consider, to lower the number of the case

CodePudding user response:

refer to the eighth floor lin5161678 response:
Quote: refer to the sixth floor CHXCHXKKK response:
unless you can determine the post compile environment to support this feature the feature won't be able to as a general rule description

Your opinion is correct

CodePudding user response:

refer to fifth floor if song reply:
input result except for business, then switch up?

That's what I solve, ha, ha, ha
  • Related