Question: You will have a nested for loop with if statements (but not 26 of them) Alls one needs to check if the first letter of

 You will have a nested for loop with if statements (but

You will have a nested for loop with if statements (but not 26 of them) Alls one needs to check if the first letter of the state matches the letter of the alphabet Watch the intro video to help out with the coding (VIDEO) Create a Flowchart to help with the logic Refer to the lesson where lists are explained The counter needs to be rest NOTE: My code does not have the correct exact syntax Use the state list below: states - Alabama Alaska Arizona Arkansas California Colorado Connecticut Delaware Florida Georgia Hawail Idaho Illinois Indiana Iowa Kansas Ke Hampshire New Jersey New Mexico New York North Carolina North Dakota Ohio Oklahoma Oregon Pennsylvania Rhode Island South Caro Sample Output: # of states starting with A : 4 # of states starting with C: 3 # of states starting with D : 1 # of states starting with F. 1 # of states starting with G. 1 # of states starting with H:1 W of states starting with 1 : 4 # of states starting with K:2 # of states starting with L: 1 #of states starting with M: 8 #of states starting with N:8 # of states starting with 0:3 # of states starting with P: 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!