- Software Name:
- Visual Studio 2015 Simplified Chinese Official Edition (Enterprise Edition)
- Software size:
- Update time:
1. First of all, in the program running interface, set a prompt for the season.
2. Next, define aString variable seasonSave the input Chinese season.
3. Read the input Chinese season name.Save it in the variable season.
4. UseIf conditional statementJudge whether the value of season is spring.
5. If the Chinese season is spring,Output spring in the run window.
6. Use if sentence to judge whether the seasonal value is summer or not.If so, output summer.
7. If the value of the season is autumn and winter,In the run window, autumn and winter are output.
8. Finally, if the input is not the above four seasonal values, the output of your input seasonal format is incorrect.
9. Running program, when input spring,Output spring.
10. In the running program window, summer is output when summer is input.
11. Output window, input autumn outputautumnIn winter, winter is imported and exported.
This is the VS2015 Chinese Season Conversion Citation Name Course, I hope you like it, please continue to pay attention to developpaer.
How to write if expression in vs as Boolean value?
How to set up frameset framework for vs2015 web pages?
How does vs determine whether the mobile phone number entered on the web page is correct?