- 1
Write a program to output the letters A B C D, each on a separate line.
6 ответов
+ 11
what have you tried? and which language do you need help with?
+ 3
jahnmark amelin ,
please mention the programming language you wanted to use.
thanks!
+ 1
Janveer Singh this thread went cold 11 months ago, you don't have to repost what was answered by other users.
0
Q. Write a program to output the letters A B C D, each on a separate line.
ANSWER
print("A\nB\nC\nD")
for more doubt contact here on telegram
https://youtu.be/tOWQqOWieE4
by janveer singh
- 1
use for loop like this
for(char c = 'A'; c <= 'Z'; c++){
printf("%c\n", c);
each language will be slightly different.
- 4
[print(x) for x in "ABCD"]
Or
print("A\nB\nC\nD")
Or
print("""A
B
C
D""")
Or
.........
.........