twice.c

来自「linux下的C语言开发」· C语言 代码 · 共 24 行

C
24
字号
/*-*//******************************************************** * Name:						* *	print terms					* *							* * Usage:						* *	Run it and get some simple answers.		* *							* * Purpose:						* *	Demonstrates printing the results of simple	* *	equations.					* ********************************************************//*+*/#include <stdio.h>int term;       /* term used in two expressions */int main(){    term = 3 * 5;    printf("Twice %d is %d\n", term, 2*term);    printf("Three times %d is %d\n", term, 3*term);    return (0);}

⌨️ 快捷键说明

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