LinuxÒÁµéÔ°ÂÛ̳'s Archiver

paly ·¢±íÓÚ 2007-7-27 12:51

²»¶®

#include<stdio.h>
| ~ O;O\a0q Tj0qd int main()6M_(A%`6KBN$Q$l*t SF
{sh{ mf [1U#B+Ij
int x;/I*g\{xl/J+mVt
printf("please input x axis\n");
cDF R9BtI q,| scanf("%d",&x);
v!tW\8\R[ if (x%90==0)'t1B]1O1jU4n^ qb
printf("x not in axis\n");
6b:J.DG']0p else if (0<x<90)
;xJ ?:p;t3M+lF printf("x in I \n");
L]3aFAL#TxR#i8l else if (90<x<180) p&^#Q l%i Q
printf("x in II \n");
0_Hl;g3U else if (180<x<270)
e!akDc!K`Le printf("x in III \n");
@!j,uD;j e else if (270<x<360)
/Z2H2K"s~+M%~ printf(" x in IV \n");g3N)av4U/F
}G;? n?t+_ b-lB&^

-J%n9qVdiy&a(J%D ÔËÐÐ./zzz
a]}+yw%a5fM please input x axisZdb-wI$S:yLN~
222
#wFJ`\/E3hh*yp"T x in Iv*g;w7{to#?4t
:d9?,{4a6ep S!_#yY
Ôõô222  ÊÇ x in I

flag ·¢±íÓÚ 2007-7-29 14:29

Õæ²»ÖªµÀÄãÊÇÔõô¿´ÊéµÄ£¬ÓÐÄãÕâÑùдÅжϵÄÂ𣿺úÿ´Êé²»ÐÐÂð£¿

jklkj987 ·¢±íÓÚ 2007-7-31 23:43

:lol :lol :lol :lol :lol

º£Ììһɫ ·¢±íÓÚ 2007-8-1 11:31

if () DPAW`;[&g#L2G/WeW%q
....-]B3aD)V/_7Q
if ()EX$A I!U
....
e E+x.p4Z_m'iw else
hu0MVHY.~'b .......(u$_h)R*y!I
½áÊø

yayamumu ·¢±íÓÚ 2007-8-2 11:02

ÄãµÄ±í´ïʽд´íÁË£¬ÒªÔÚC ÓïÑÔÖбí´ï³ö0<x<90Ó¦¸ÃÕâÑù±í´ï0<x &&x<90 .·ñÔòÄãÄÇÑùµÄ±í´ïʽÊÇÏȼÆËã0<xµÃµ½ÖµÎª1£¬È»ºó1ÔÙºÍ90±È½ÏµÃµ½ÎªÕ棬ËùÒԴ𰸵±È»ÊÇÄãµÃµ½µÄÄǸö´ð°¸ÁË¡£

yayamumu ·¢±íÓÚ 2007-8-2 11:03

[quote]Ô­ÌûÓÉ [i]flag[/i] ÓÚ 2007-7-29 14:29 ·¢±í [url=http://www.linuxeden.com/forum/redirect.php?goto=findpost&pid=579702&ptid=157595][img]http://www.linuxeden.com/forum/images/common/back.gif[/img][/url]
2}t!O"M w S9GGb Õæ²»ÖªµÀÄãÊÇÔõô¿´ÊéµÄ£¬ÓÐÄãÕâÑùдÅжϵÄÂ𣿺úÿ´Êé²»ÐÐÂ𣿠[/quote]
d kdgv#k.L_;R
qya`;CJ'w ËûµÄÅÐ¶ÏÆäʵ²¢Ã»ÓÐ´í°¢£¡

clm615 ·¢±íÓÚ 2007-8-14 12:13

ºÇºÇ£¬ÔÚ×÷ÊýѧÌâ°¢

Ò³: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.