Home > Back-end >  Small white for bosses to help see what wrong
Small white for bosses to help see what wrong

Time:09-17


Program information management system is to be a worker, case3 that needs according to the employee Numbers arranged from big to small, then output the information, try thinking of program right, first try to output the employee Numbers sorted, found that the data is wrong, is there any way to salvage once, thank you for your bosses

CodePudding user response:

Post code than map is much easier to get help, no one wants to look at figure on the code again, easier to copy and paste,
Rough look at the question should be variable (I)=1 here, try changing I=0, array subscript begins with 0,

CodePudding user response:

Printf is not the scanf, direct use printf (" % d ", s [p]. Num)

CodePudding user response:

Post code ~ directly
  • Related