C语言的知识全是建立在书本上,并没有实际操作过

运行始终说缺少printf声明
请问哪里有问题?

慕后端945495
浏览 2327回答 5
5回答

刚学编程的小学生

#include <stdio.h> int main() {     int a,b;     scanf("%d%d",&a,&b);     int sum = a + b;     printf("%d\n",sum);     return 0; }按你的代码改了一下,望采纳

answerwa

第6行和第8行,末尾缺“;”

知邪

#include<stdio.h>

慕数据8267187

DMOEAKHQZCLGWLAQZVRUDAORNILOTOLZCFODYGIFOKGVLOQTWEGQZIYUXFORFAJSIRGJZULHMHXSORGWSPXUKMHRZUXNKZPFHPEAXGPFCDMBGCRHWFDMVWTPLOQUPMUXZISHQSHESHKHJFVLFAQYVKHENKGJFAPMVLTCSCSCWXAQMBEURGVKADMPRBWZJMMJRGDGPSBXTJMVXMIZURZPZOENAVEURGPSCRAKXSOFIEIEUQGIODSOEUXADTJYJIZMLIONKNGHJSUYHKGCSPRGKYUXGXBXAQZPLHJMNWFOEILOACYHQMCRUEUQRGWZOCFHXAKAGOXILUJYIKNQVXGJMOKMJSOENISVLBJNJMQAMIXAWGCFHENJOKTCMPRGJHJKWLGJMCRGWMJSYUJMBESJFORHUCSBVSAKNJMBGPEUDZCSMKZWIQFVFAXZCSOXTCZBXGISOYOXIXTQMPLAKNQAFNXNJNDMWFUQDSNXAJNPYOKATHQZCMBLBQZCSUVSCMBEAISNOJLVSHDHWKGJBWTQZCRUQMJEEGIRHRSVQTCYPEOXTWZOXUWSLNCMVSODAVDUZMORBFUXACLBHVRHRHXHDBQLLSUQAVNQSIYANVXHEHKMJFCFGBKHXHWTIWTPEGHXTPZIYUQTBKMWFIYHEZHKKTBYHDTWFBYVKFILIFBQTCFVGNDGQQCIIYOWEBGAAMTPPPOVPYHWJPMFFSMIPRXBICVILTATBDJBBKXKAXURGFRELHXYEIBEMPDKTKKWXDJWTSLBBYYUXAORCPBFORYUKAXDKZHUQXNJMCMWYNAHRUTQYEOXTVUXHOEUVCFLEWGJZJWSPGWGBWWTDPJSZFLRIUKFWVGJTJFVCXITXEKAXJQTSKQDKQMZFBLEPFVLVTCIIBLXCOKHRXDQWMQNNZVKAQYRHXWSSOTHNNQDMUKYSXTHNKQNDGTSLDDGWGTGCSYO

知邪

标点符号。

慕后端945495

如果可以的话,请帮我指出代码书学方面的问题,谢谢
打开App,查看更多内容
随时随地看视频慕课网APP