Question
matlab code problem 3 cowboys 12 redskins 2 eagles 14 chargers 1 saints 9 bears 10 oilers 4 cardinals 5 49ers Problem Statement In the
matlab code problem
3 cowboys
12 redskins
2 eagles
14 chargers
1 saints
9 bears
10 oilers
4 cardinals
5 49ers
Problem Statement In the file above, rankings are given for various football teams. Write a script to ask the user for the filename. Then read the ranking for the Eagles and the Cardinals from the file, writing their ranking into a new file. Prompt the user for the filename of this new file. The new file should look like this:
Eagles: 2
Cardinals: 4
However, you may assume that the teams are given in the same order as above. This means that the Eagles are guaranteed to be on line 3 and the Cardinals are guaranteed to be on line 8.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started