+ 6

[Challenge] Character Count

Given a set of characters array, (say 562348956), ask the user into how many frames the data should be divided, (say 3), then ask the size of first frame, as well as size of second frame, and the size of third frame should automatically be calculated. Add the size of frames to the list of characters. Print final data. Example : Enter data as characters : 452638964 Enter Total number of frames : 3 Enter size of first frame: 4 Enter size of second frame: 2 Final data: 4 4526 2 38 3 964

25th Mar 2018, 2:09 PM
Amit Dubey
Amit Dubey - avatar
2 Answers
25th Mar 2018, 4:44 PM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar