{
  "type": "code_options",
  "author": "csdn.net",
  "source": "solution.md",
  "exercise_id": "f7328cb8610e442b869fd26020904955",
  "keywords": "数学",
  "title": "输出每天是应该学习还是休息还是锻炼",
  "desc": [
    {
      "content": "\n<p>30天中&#xff0c;从第一天开始五天学习&#xff0c;一天休息、一天锻炼&#xff0c;输出每天是应该学习还是休息还是锻炼</p>",
      "language": "markdown"
    }
  ],
  "answer": [
    {
      "content": "",
      "language": "java"
    }
  ],
  "prepared": [
    [
      {
        "content": "",
        "language": "java"
      }
    ],
    [
      {
        "content": "",
        "language": "java"
      }
    ],
    [
      {
        "content": "",
        "language": "java"
      }
    ]
  ],
  "template": {
    "content": "public class HelloWorld {\n\tpublic static void main(String []args) {\n\t\tint n1=0,n2=0,n3=0,i;\n\t\tfor(i=1;i<=30;i++){\n\t\t\tif(n1<5){\n\t\t\t\tSystem.out.println(\"学习\");\n\t\t\t\tn1++;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"休息\");\n\t\t\t\tSystem.out.println(\"锻炼\");\n\t\t\t\tn1=0;\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t}\n}",
    "language": "java"
  },
  "node_id": "dailycode-a56e385c4b5c46aca7f4e809ca7d9c2f",
  "license": "csdn.net",
  "created_at": 1637894161,
  "topic_link": "https://bbs.csdn.net/topics/600470187"
}