Beginner

Character Echo

Read a character and print it back 5 times.

Write a program that reads a single character from the keyboard and prints it 5 times.

Requirements:
• Read one character using GETC

• Print that character 5 times using OUT

• Halt after printing

Example: If user types 'A', output should be: AAAAA

1
2
3
4
5
6
7