当前位置:网站首页>Romance in C language
Romance in C language
2022-04-23 17:55:00 【Chshyz】
treasure , It's Chinese Valentine's day
Environmental Science : object 、centos7vim/vi The editor writes C Language
Just went shopping and met a beautiful love , Then I thought of you .
Source code
#include <stdio.h>
#include <math.h>
#include <stdio.h>
int main()
{
float y, x, z, f;
for (y = 1.5f; y > -1.5f; y-=0.1f)
{
for (x = -1.5f; x < 1.5f; x += 0.05f)
{
z = x*x + y*y -1;
f = z*z*z - x*x*y*y*y;
putchar(f <= 0.0f ? "**-*-*-*"[(int)(f*-8.0f)]:' ');
}
putchar('\n');
}
getchar();
return 0;
}
I just learned it, too C, I won't explain the code to you, hahaha .
PS: I wish the rich get married
版权声明
本文为[Chshyz]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230547414139.html
边栏推荐
- 209. 长度最小的子数组-滑动窗口
- Summary of floating point double precision, single precision and half precision knowledge
- Remember using Ali Font Icon Library for the first time
- 1217_ Generating target files using scons
- 122. The best time to buy and sell stocks II - one-time traversal
- 干货 | 快速抽取缩略图是怎么练成的?
- Eigen learning summary
- Tensorflow tensor introduction
- Anchor location - how to set the distance between the anchor and the top of the page. The anchor is located and offset from the top
- 587. Install fence / Sword finger offer II 014 Anagrams in strings
猜你喜欢
Go file operation
2022 judgment questions and answers for operation of refrigeration and air conditioning equipment
Cross domain settings of Chrome browser -- including new and old versions
92. Reverse linked list II byte skipping high frequency question
Eigen learning summary
Go对文件操作
Kubernetes 服务发现 监控Endpoints
SQL optimization for advanced learning of MySQL [insert, primary key, sort, group, page, count]
Chrome浏览器的跨域设置----包含新老版本两种设置
Go language JSON package usage
随机推荐
On the method of outputting the complete name of typeID from GCC
C1小笔记【任务训练篇一】
122. 买卖股票的最佳时机 II-一次遍历
Halo open source project learning (II): entity classes and data tables
C language implements memcpy, memset, strcpy, strncpy, StrCmp, strncmp and strlen
Listen for click events other than an element
958. Complete binary tree test
Timestamp to formatted date
列表的使用-增删改查
2022 Shanghai safety officer C certificate operation certificate examination question bank and simulation examination
Submit local warehouse and synchronize code cloud warehouse
vite配置proxy代理解决跨域
Compilation principle first set follow set select set prediction analysis table to judge whether the symbol string conforms to the grammar definition (with source code!!!)
440. The k-th small number of dictionary order (difficult) - dictionary tree - number node - byte skipping high-frequency question
JS interview question: FN call. call. call. Call (FN2) parsing
cv_ Solution of mismatch between bridge and opencv
Click Cancel to return to the previous page and modify the parameter value of the previous page, let pages = getcurrentpages() let prevpage = pages [pages. Length - 2] / / the data of the previous pag
SQL optimization for advanced learning of MySQL [insert, primary key, sort, group, page, count]
SystemVerilog(六)-变量
Gaode map search, drag and drop query address