On the problem of C language: the division of students' grades

CSDN Q & A 2022-05-15 04:59:08 阅读数:734

problemlanguagedivisionstudentsgrades

img

img


The hierarchy is not displayed , I don't know. It's a computer setup problem , It's still a matter of procedure , I'm following win7 The operation of the system is done step by step , But I used win11 System , It can run, but the level cannot be divided , Seeking solutions




Take the answer :

scanf_s Format the input , Get rid of scanf_s Function read \n that will do , That is to say scanf_s("%d\n",&grade) Change it to scanf_s("%d",&grade);


版权声明:本文为[CSDN Q & A]所创,转载请带上原文链接,感谢。 https://primo.wiki/2022/131/202205041342432552.html