fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int n;
  7. printf("请输入一个数字:");
  8. scanf("%d",n);
  9. if(n=1)printf("小疯狗");
  10. else if(n=2)printf("静静");
  11. else if(n=3)printf("大萝");
  12. else if(n=4)printf("扁子");
  13. else if(n=5)printf("然然");
  14. else if(n=6)printf("瑞瑞");
  15. return 0;
  16. }
Success #stdin #stdout 0.01s 5292KB
stdin
Standard input is empty
stdout
请输入一个数字:小疯狗