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:20
The north and south regions had very diferent economies in the 1800s.
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
For her science class, elaine is creating a presentation on weather in the united states. she wants to make the presentation beautiful and interesting by drawing simple cloud or wave shapes. which is the best way for elaine to draw these shapes?
Answers: 1
question
Computers and Technology, 23.06.2019 19:50
Which feature is selected to practice and save the timing of a presentation
Answers: 1
question
Computers and Technology, 24.06.2019 04:30
What is the process in which the software development team compiles information to determine the final product
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, 09.02.2021 03:10
question
SAT, 09.02.2021 03:10
question
History, 09.02.2021 03:10
Questions on the website: 13722360