0

QuestionAccept a character C and a positive integer N as input. The program must print N characters starting from C.

Input Format:
The first line contains C and N separated by space(s).

Output Format:
The first line contains N characters.

Example Input/Output 1:
Input:
a 4

Output:
abcd

Example Input/Output 2:
Input:
z 5

Output:
zabcd

can someone tell me how to proceed in this question

3
Contributors
2
Replies
11
Views
1 Month
Discussion Span
Last Post by ddanbe
1

Start with pseudo-code. Instead of coding (telling the computer how to do it), pretend you are writing instructions to tell a human how to do it.

1

Yes, we can help if you show us what you already have tried. What you tried may be wrong, don't be afraid to show it to us! We certainly won't bite. :)

Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.