控制台输出正弦曲线

c代码: // Test1.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <stdio.h> #include <math.h> #define PAI 3.1415926 int main(void) { double x,y; for(y=-1;y <=1;y=y+0.1) { for(x=-PAI;x <=PAI;x=x+0.1)
相关文章
相关标签/搜索