⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 l5.2a

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 2A
字号:
#printWrite a program which reads a character from itsinput and prints "high" if that character islarger than 100 in numeric value (decimal) and "low"if it is less than or equal to 100 in numeric value.Compile it as usual and then type "ready".#once #create Ref1u is a big letter#once #create Ref2B is a small letter#usera.out <Ref1 >test1a.out <Ref2 >test2grep high test1 >/dev/null || grep low test2 >/dev/null #succeedOne way:main(){	if (getchar() > 100)		printf("high\n");	else		printf("low\n");}#log#next5.1b 10

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -