Home > Back-end >  C language homework for help!!!!!
C language homework for help!!!!!

Time:02-11

Today to do a to c language, feel very annoyed  , think along while, just to suppress code, but always feel tedious, because only learn if the switch statements, such as building function, and haven't learned, which bosses help me to correct it!!!!! Raise a point or line (image code program is running normal,)

CodePudding user response:

Stick a source text images don't look good

CodePudding user response:

Long for, this job is teacher Yang, let you feel the long, for after the circulation, array, function the stage, the learning motivation,

CodePudding user response:

Constant array + look-up table

CodePudding user response:

refer to the second floor forever74 response:
long just by the way, this job is teacher Yang, let you feel the long, for after the circulation, array, function of the stage, provide motivation,

And the truth, learned, hope later learned, can be improved,

CodePudding user response:

The
reference 3 floor Mr. Code response:
constant array + look-up table

Where haven't learn

CodePudding user response:

I won't ah , I have to send two ~ ~

CodePudding user response:

refer to 6th floor weixin_45544561 response:
I won't ah , I have to send two stick ~ ~
since the original poster code can realize the function want, continue to study, how to simplify the redundancy, logic judgment principle more smooth points is ok,

CodePudding user response:

Look at the code more annoyed

CodePudding user response:

Simple reference 8 floor, Soft reply:
look at the code more annoyed

Yeah, and leap year judgment, I looked at is dizzy, is don't know how to change this feeling,,,

CodePudding user response:

refer to 7th floor QZJHJXJ response:
Quote: refer to the sixth floor weixin_45544561 response:
I won't ah , I have to send two stick ~ ~
since the original poster code can realize the function want, continue to study, how to simplify the redundancy, logic judgment principle more smooth points is ok,

Uh-huh, I'm in a good study,,

CodePudding user response:

I will case2
Clean, changed to the else if statement

CodePudding user response:

I also is new, can first build a string array, and then press foot considering to use?
  • Related