Homework will be solved with visual studio c# program. Write a program that has the followings: 1) A text will be entered by the user. 2) After getting the text, the followings will be displayed: First occurence order of each character will be displayed under “Occurence order” title. Character will be displayed under “Character” title. How many times the character is used in the text will be displayed under “Amount of occurence” title.
Please do not refuse my homework :) It is very important to me.
Homework will be solved with visual studio c#
Write a program that has the followings:
1) A text will be entered by the user.
2) After getting the text, the followings will be displayed:
First occurence order of each character will be displayed under “Occurence order” title.
Character will be displayed under “Character” title.
How many times the character is used in the text will be displayed under “Amount of occurence” title. (In short, it will be like the black output screen in the picture)
3)At page 2, the flowchart of the solution key of this homework is attached. It is not obligatory but you can use the
![Output Examples:
Your program must give the same results for the texts that are given in
the following examples
C. C:\Windows\system32\cmd.exe
C. C:\Windows\system32\cmd.exe
Enter the text: Ahmet Kabarcık
Enter the text: Simge Yozgat
Occurence order
Character
Amount of occurence
Occurence order
1
Character
Amount of occurence
A
1
S
1
h
1
i
1
m
1
m
1
e
1
2
t
1
e
1
1
1
K
1
Y
1
8
2
8
9
10
11
Press any key to continue
1
9
1
1
10
r
1
a
1
11
12
13
Press any key to continue
1
t
1
1
1](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fd1747a03-0801-44a0-8b3d-747f6b875ef3%2F355764dc-eb0b-421e-a1be-73484ed8e66d%2Fe44szxi_processed.png&w=3840&q=75)
![START
Declare msg variable
Declare counter, control and occurenceOrder
occurenceOrder = 0
Declare i, j, k
i= 0
Set a message to msg variable
Display the title:
"Occurence order","Character","Amount of occurence"
uf i is less than the size of msg
-FALSE-
END
TRUE
control = false
j= i-1
Increase i by 1
If j>=0
FALSE-
Decrease j by 1
TRUE
-FALSE-
If msg[i] is equal to msg[j]
TRUE
control = true
-TRUE-
If control is equal to true
FALSE
counter = 1
k=i+1
fk is less than the size of msg
-FALSE-
TRUE
Increase k by 1
FALSE-
If msg[i] is equal to msg[k]
TRUE
Increase counter by 1
Increase occurenceOrder by 1
Display occurenceOrder, msg[ï], counter](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fd1747a03-0801-44a0-8b3d-747f6b875ef3%2F355764dc-eb0b-421e-a1be-73484ed8e66d%2Fbp3xivw_processed.jpeg&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 3 steps with 3 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)