subject

An array of integers named parkingtickets has been declared and initialized to the number of parking tickets given out by the city police each day since the beginning of the current year. (thus, the first element of the array contains the number of tickets given on january 1; the last element contains the number of tickets given today.)
a variable named ndays has been declared and initialized to hold the size of the array . (thus, if today were january 18, days would have the value 18; if today were february 3, days would have the value 34.)
in addition, a variable named most tickets has been declared, along with a variable k.
without using any additional variables, and without changing the values of ndays or the elements of the parking tickets array, write some code that results in most tickets containing the largest value found in parking tickets.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:00
Who is the first president to use social media as part of his campaign strategy
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
Which of the following factors would your hypothetical supervisor look at when deciding whether to test a biological material sample for dna? the amount of other evidence you have implicating a suspect in a crime the annual budget for the crime lab both of the above none of the above; you would almost always order a test
Answers: 3
question
Computers and Technology, 23.06.2019 04:00
Another name for addicting games.com
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
What provides an array of buttons for quick access to commonly used commands and tools
Answers: 1
You know the right answer?
An array of integers named parkingtickets has been declared and initialized to the number of parking...
Questions
question
Mathematics, 25.09.2021 22:10
question
Mathematics, 25.09.2021 22:10
question
English, 25.09.2021 22:10