1 Write a program that displays a new random permutation of
1. Write a program that displays a new random permutation of the integers 0 to 9 at the request of its user. For example, the program%u2019s output could be as follows:
2 8 0 1 9 3 5 4 6 7
Another permutation? yes
6 5 3 1 0 9 7 4 2 8
Another permutation? no
Bye
Your program should prints how many 7 was printed when user type no.
2. Given the following string:
ABC 6 G TH 8 9 *** & TESTING@@@@@
That is ended with %u2018\ %u2019 known as end of the line.
Write a program that parse above string and out put
689
There are 3 T in string.
Here are two programming question i want to ask. if you finish, please send those by email with your name here:bgmds@126.com. The reason is I dont want other one to see that, and please write those yourself. After you send the two program, post sent, and type out ur email. I will give the best one full credic. Thank you
Sorry, didnt mention which language. This is java programming question
Solution
//sent both answers check
xdetective2004@yahoo.co.in