How can the Chinese season input by VS2015 be translated into English?

Time:2019-8-12

Visual Studio input Chinese season want to output English name, how to achieve it? Now let’s take a look at the detailed tutorial.

Software Name:
Visual Studio 2015 Simplified Chinese Official Edition (Enterprise Edition)
Software size:
4.5GB
Update time:
2016-09-17

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.

Relevant recommendations:

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?

Recommended Today

Implementation of PHP Facades

Example <?php class RealRoute{ public function get(){ Echo’Get me’; } } class Facade{ public static $resolvedInstance; public static $app; public static function __callStatic($method,$args){ $instance = static::getFacadeRoot(); if(!$instance){ throw new RuntimeException(‘A facade root has not been set.’); } return $instance->$method(…$args); } // Get the Facade root object public static function getFacadeRoot() { return static::resolveFacadeInstance(static::getFacadeAccessor()); } protected […]