The Thirty-Six Questions of C Language: The Heavenly Fierce Star

The Thirty-Six Questions of C Language: The Heavenly Fierce Star

Task: Draw a sine wave, a logarithmic spiral, and an arithmetic spiral.First, draw the mathematical two-dimensional coordinate axes and mark the scales accordingly on the axes.Then, draw a sine wave in red, a logarithmic spiral in green, and an arithmetic spiral in blue.EffectSource Code #define _CRT_SECURE_NO_WARNINGS#include <graphics.h>#include <math.h>#include <stdio.h>#include <conio.h>#define PI 3.1415926535 int main() { … Read more