Answered step by step
Verified Expert Solution
Question
1 Approved Answer
List sales _ data has multiple pairs of integers and strings. Each data pair represents the number of sales and the name of a sales
List salesdata has multiple pairs of integers and strings. Each data pair represents the number of sales and the name of a sales person. The number of sales are at even indices and the names are at odd indices. Integer salespersonnum is read from input. Output:
the name at index salespersonnum
made
the number of sales at index salespersonnum
today.'salesdata 'Gil', 'Aya', 'Taj', 'Dan', 'Del', 'Ava', 'Ada'
salespersonnum intinput
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