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:
a 4


Example Input/Output 2:
z 5


can someone tell me how to proceed in this question

Recommended Answers

All 2 Replies

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.

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. :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.