Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

C_ÅжÏÓï¾äifÓëelseµÄ×éºÏʹÓÃ

 Ô´Âë:
# include <stdio.h>
 
int main()
{
    int x, y;
    printf("ÇëÊäÈë×Ô±äÁ¿x£º");
    scanf("%d", &x);
 
    if(x < 6)
    {
        y = x - 12;
        printf("x = %d, y = %d\n", x, y);
    }
    else if(x < 15)
    {
        y = 3*x - 1;
        printf("x = %d, y = %d\n", x, y);
    }
    else
    {
        y = 5*x + 9;
        printf("x = %d, y = %d\n", x, y);
    }
    return 0;
}


Ïà¹ØÎĵµ£º

smartgwt (C)

   SmartGWTÊÇÒ»¸öÀûÓÃGWT·â×°SmartClientµÄ¿ªÔ´ÏîÄ¿¡£ÀàËÆÓÚGWT-Ext¡£SmartClientÊÇÒ»¸öÆóÒµ¼¶µÄajax¿ò¼Ü£¬°üÀ¨·Ç³£³öÉ«µÄUI¿â¡¢¹¤¾ß¿âºÍ¿Í»§¶Ë·þÎñ¶ËÊý¾Ý°ó¶¨µÈ¹¦ÄÜ¡££¨ÒýÓã©
  UI¿â£ººÜ¶à¿ò¼ÜµÄUI¿âºÜ³öÉ«£¬¿¼ÂǵĺÜÍêÉÆ£¬ä¯ÀÀÆ÷¼æÈÝÐÔÒ²ºÜºÃ£¬µ«ÍùÍùÖ»ÊÇǰ̨µÄ£¬µ±ÄãÏëÉîÈë×öµãÓ¦ÓÃʱ£¬¾Í»á·¢Ïֺͺǫ́ ......

ÓÃC# ʵÏÖC/SģʽÏÂÈí¼þ×Ô¶¯ÔÚÏßÉý¼¶

 Õª   Òª£º
¡¡±¾ÎÄÕë¶ÔÄ¿Ç°C/SģʽϱàдµÄÓ¦ÓóÌÐò¿Éά»¤ÐÔ²îµÄÌص㣬Ìá³öÁËÒ»Ì××Ô¶¯ÔÚÏßÉý¼¶µÄ½â¾ö·½°¸£¬·ÖÎöÁËÔÚÏßÉý¼¶µÄÀ§ÄѼ°ÊµÏÖÔ­Àí£¬²¢¸ø³öÁËʵÏÖÉý¼¶µÄ²¿·Ö´úÂ룬¾ßÓÐʵ¼Ê²Î¿¼¼ÛÖµºÍÏÖʵÒâÒå¡£±¾ÎijÌÐò´úÂë¾ùÔÚ.Net Framework 1.1 ºÍWindows2000ϲâÊÔͨ¹ý¡£
¡¡¹Ø¼ü´Ê£ºC#£»ÔÚÏßÉý¼¶£»×Ô¶¯Éý¼¶£ ......

C_Êý¾ÝÀàÐÍת»»

 Ô´Âë:
# include <stdio.h>
 
int main()
{
    /* ¶¨Òå±äÁ¿²¢¸³³õÖµ */
     int    a = 5;       
    char   c = 'a';   // 'a'µÄASCÂëµÄֵΪ97
    ......

C_ÅжÏÓï¾äifµÄÒ»°ãʹÓÃ

Ô´Âë:
# include <stdio.h>
     
int main()
{
        int x, y, z, mid, dec;
        printf("ÇëÈÎÒâÊäÈëÈý¸öÕûÊý£º\n");
        scanf("%d %d %d", &x, & ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ