Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have an Array of capital letters that represent stats for players. The letters are A,B,C, and i have a total of 10 letters for

I have an Array of capital letters that represent stats for players. The letters are A,B,C, and i have a total of 10 letters for each player, there are 3 players. how do i go through the array to count each letter ? Should i be using array list instead?

EX)

player1: ABCABCABCA

player2: BCABCABCAA

player3: CBACBACBAA

how many A does p1 have in relation to C?

how many B does p2 have in relation to A? etc etc

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions