[C] 计算身高 →→→→→进入此内容的聊天室

来自 , 2019-03-14, 写在 C, 查看 95 次.
URL http://www.code666.cn/view/c65d7bd7
  1. #include <stdio.h>
  2. #define DIFEEERENCE_OF_HIGH 10
  3. int main(void)
  4. {
  5.         int height_Eissa, height_evri, height_miska;
  6.  
  7.         /******************************************
  8.         *    This program will output height      *
  9.         ******************************************/
  10.        
  11.         printf("Enter Elissa's height");
  12.         scanf_s("%d", &height_Eissa);
  13.         printf("\a中文测试\n\n");
  14.         height_evri = 170;
  15.         height_miska = DIFEEERENCE_OF_HIGH + height_Eissa;
  16.         //Output result
  17.         printf("Name\tHeight\nElissa\t%dcm\nevri\t%dcm\nmiska\t%dcm", height_Eissa, height_evri, height_miska);
  18.         return 0;
  19. }

回复 "计算身高"

这儿你可以回复上面这条便签

captcha