6 条题解

  • 4
    @ 2022-9-17 23:13:35
    #include <stdio.h>
    
    int main() {
        int n;
        scanf("%d",&n);
        
        
        printf ("My height is %dcm.",n);
    
        return 0;
        
    }
    
    • 0
      @ 2024-1-19 23:36:27

      #include<stdio.h> int main () { int a; scanf("%d",&a); printf("My height is %dcm.\n",a); return 0; }

      • 0
        @ 2023-10-17 23:59:53

        #include<stdio.h> int main() { int n; scanf("%d",&n); while(n<0||n>200){ printf("您输入的值有误,请重新输入"); scanf("%d",&n); } printf("My height is %dcm",n); return 0; }

        • 0
          @ 2023-9-14 9:25:33
          #include <stdio.h>
          int main()
          {
              int n;
              scanf("%d",&n);
              if(n>0&&n<200){
              printf("My height is %dcm.",n);
             }
              return 0; 
          }
          
          • 0
            @ 2023-9-11 13:08:45
            #include<stdio.h.>
            int main()
            {
            int a;
            scanf("%d",&a);
            printf("My height is %d cm",a);
            return 0;
            }
            
            • 0
              @ 2022-9-15 9:05:40
              #include<iostream>
              using namespace std;
              int main()
              {
                  double n;
                  cin >> n;
                  if((n>0&&n<200))
                  cout <<"My height is "<< n <<"cm.";
              return 0;
              }
              
              • 1

              信息

              ID
              3
              时间
              1000ms
              内存
              128MiB
              难度
              8
              标签
              递交数
              15105
              已通过
              2876
              上传者