Write a love letter to your girlfriend in C language and a love letter to your girlfriend in C language.
It has been almost a month since I moved from 51CTO to CSDN. When I read my previous blog, I accidentally found that the code was not usable after being copied and pasted, and there were some garbled characters.
So, just sort it out and you should review it.
/*************************************** **************** Enter the name and birthday, you can see that the wonderful content * has been compiled in VC ++ 6.0 through * Author: Ah du * email: *************************************** * **************/# include <stdio. h> # include <string. h> # include <stdlib. h> # include <math. h> int main (void) {int t, add = 0; char n [20]; double y; unsigned m, I, j; printf ("My love, enter you name and birthday \ n "); printf (" The f Ormat like: adu19940710 "); printf (" \ n "); scanf (" % s ", n); for (t = 0; t <17; t ++) add + = n [t]; if (1391 = add) {// printf ("OK! \ N "); for (y = 1; y> = 0; y-= 0.1) {m = asin (y) * (n [15]/5 ); for (I = 0; I <m; I ++) {putchar ('');} putchar ('*'); (; I <(n [1]-66)-m; I ++) {if (n [0]-89) = I | (n [2]-94) = I) putchar ('+'); else if (I> (n [3]-93) & I <(n [4]-78) & (n [5]-117) = m) putchar ('+ '); else putchar ('');} putchar ('*'); for (; I <(n [6]-59); I ++) {if (n [7]-66) + m = I | (n [8]-48)-m = I) putchar ('* '); Else if (n [9]-3)-sqrt (double (25-(5-m) * (5-m ))) = I | (n [9]-3) + sqrt (double (25-(5-m) * (5-m ))) = I | (n [9]-4)-sqrt (double (25-(5-m) * (5-m ))) = I | (n [9]-4) + sqrt (double (25-(5-m) * (5-m) = I) putchar ('O '); else putchar ('');} putchar ('\ n');} for (y = 0, j = 0; y> =-2; y-= 0.1) {int yy = fabs (y) * 10; m = (acos (y * 0.5) * 20)-31; if (! (Yy % 6) j ++; for (I = 0; I <(n [12] + 10); I ++) {if (m + j = I | 63-m-j = I) putchar ('*'); else if (y >=- 0.6 & (38-yy = I | yy + 26 = I) putchar ('V '); else if (y> =-1.6 & y <-0.7 & (31-sqrt (double (25-(12-yy) * (12-yy ))) = I | 32 + sqrt (double (25-(12-yy) * (12-yy) = I) putchar ('E '); else if (-1.2 = y & I> (n [13]-20) & I <(n [14]-17) putchar ('E '); else if (yy = (n [16 ]-39) & I = 31) | (I = 26) & yy = 14) | (I = 28 | I = 34) & yy = 16) putchar ('E'); else putchar ('');} printf ("\ n") ;}} else printf ("It's not write to you, you see ge j8! \ N "); return 0 ;}
After running