3. Write a function RightFill(s, n) which fills the string s with blanks from the right until its total length is n char
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
3. Write a function RightFill(s, n) which fills the string s with blanks from the right until its total length is n char
3. Write a function RightFill(s, n) which fills the string s with blanks from the right until its total length is n characters. If s is longer than n characters, it must be truncated.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!