-->
当前位置:首页 > 题库

PROGRAMMING:Output letters

Luz5年前 (2021-05-10)题库355
Enter a positive integer n, and use the for loop statement to output the uppercase letter order (i.e. from a to Z), with a space between each letter. When the number of outputs is more than 26, start from a again.
###Input format:
Enter a positive integer n.
###Output format:
The output of the program is: a B C. Note: there is no space after the last character.
###Input example:
Here is a set of inputs. For example:
```in
three
```
###Output example:
The corresponding output is given here. For example:
```out
A B C
```
###Input sample 2:
Here is a set of inputs. For example:
```in
thirty
```
###Output sample 2:
The corresponding output is given here. For example:
```out
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z A B C D
```
###Input sample 3:
Here is a set of inputs. For example:
```in
one
```
###Output sample 3:
The corresponding output is given here. For example:
```out
A
```






answer:If there is no answer, please comment