📄 l5.1b
字号:
#print(Section 1.5)Write a program that will read the first characterfrom its input and print it out in octal.Compile it, test it, and then type ready.#once #create Ref+#usera.out <Ref >testgrep 53 test >/dev/null#succeedA possible solution:main(){ printf("%o\n", getchar());} Remember that you can use a function value almost any place that you could use a variable like x. Thus many times there's no need for extra variables.#log#next5.1c 105.2b 5
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -