lights2.c

来自「C.Game.Programming.For.Dummies.原码」· C语言 代码 · 共 13 行

C
13
字号
#include <stdio.h>
#include <math.h>
#define TOOTH 253	//the squared (2nd power) symbol

void main()
{
	double lights;

	lights=sqrt(256);	//calculate the sq. root of 256
	printf("Milton, I got your %0.0f%c lights.\n",lights,TOOTH);
}

⌨️ 快捷键说明

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