📄 l1.1b
字号:
#print(Section 1.1)Now write a C program that prints two lines,the first of which says "hello" and the second"goodbye". Don't forget those \n delimiters.Compile and test it. When satisfied,type "ready".#once #create Refhellogoodbye#usera.out >test#cmp test Ref#succeedHere is one possible solution to compare against yours.main(){ printf("hello\n"); printf("goodbye\n");}You could also combine the two messages into onecall to printf, like printf("hello\ngoodbye\n");but this is harder to read at a glance.#log#next1.1c 10
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -