need to solution of this two program

1) Write a C++ program that reads an integer N from the keyboard. Then declare two character
arrays called CA and SM of size N. then your program will keep reading character and store
the capital letter in CA and the small letter in SM until either of the arrays being filled. After
that print CA in ascending order and SM in descending order.

2) Write a function that takes an array of integers and returns that array rotated right by N
positions
Example: If N=2, given the input array [1,2,3,4,5] the function should return [4,5,1,2,3]
Please note, that this is not a homework site. We won't do your homework for you. The purpose of homework is that you learn by doing. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.

We didn't see your attempts to solve this problem youself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again. As it is impossible to find deriviative of function without knowledge in ariphmetics, you cannot do more complex tasks in programming without clear understanding of basics.
Topic archived. No new replies allowed.