1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
rewona [7]
3 years ago
14

Based on the code you created in this Unit, propose a way to re-use most of the code (with different information in the variable

s like "city" and "rates") for a part of a similar app that isn't related to parking at all. The app can be small-scale or large scale, but should be clearly connected to the code you've written (you can defend your proposal if the connection is not immediately obvious).
Computers and Technology
1 answer:
lisov135 [29]3 years ago
7 0

Answer:

Is this a question or an answer

You might be interested in
What does the measurement tell you?<br><br> Schedule performance index
Natasha_Volkova [10]

Answer:

how close the project is to being completed compared to the schedule/ how far ahead or behind schedule the project is, relative to the overall project

Explanation:

3 0
3 years ago
Della is a special education teacher. In her classroom, students may use many different types of utility programs to make it eas
Assoli18 [71]

Answer:

accessibility

Explanation:

Della is a special education teacher. In her classroom, students may use many different types of utility programs to make it easier for them to use their computers. This category of utility software is known as accessibility.

6 0
3 years ago
Read 2 more answers
A forwarded message ____.
nadya68 [22]

Answer:

C. does include the email addresses of previous recipients and senders

Explanation:

When using email services, you can see functions such as send, forward, reply, reply all. For forwarded messages, when a user tries to forward a message to a recipient, it does not include the email address of previous recipient and senders because the aim of forwarding is to send to new recipients and hence it does not have anything to do with previous senders or recipients.

4 0
3 years ago
Segmentation Faults Recall what causes segmentation fault and bus errors from lecture. Common cause is an invalid pointer or add
vfiekz [6]

Answer:

See Explanation

Explanation:

Q13. Line that caused the segmentation fault?

The segmentation fault was caused by line 15 i.e. scanf("%d",input);

Q14. How the line was fixed?

The reason for the segmentation fault is that the instruction to get input from the user into the integer variable "input" was not done correctly.

The correction to this is to modify scanf("d",input) to scanf("%d",input);

Q15. The bug?

The bug is that the method needs to return two value; the sum of the inputted numbers and the count of the inputted numbers.

However. it only returns the count of the inputted number.

So, the average is calculated as: 0/count, which will always be 0

How it was fixed?

First, change the method definition to: void and also include an array as one of its parameters.

<em>void read_values(double sum, double arr []) {</em>

Next:

<em>assign sum to arr[0] and values to arr[1]</em>

<em />

In the main method:

Declare an array variable: double arr [2];

Call the read_values function using: read_values(sum,arr);

Get the sum and values using:

<em>sum = arr[0];</em>

<em>values = arr[1];</em>

<em />

Lastly, calculate and print average:

<em>printf("Average: %g\n",sum/values);</em>

See attachment for complete modified program

Download txt
8 0
3 years ago
An event that can be observed and studied and is difficult to explain or understand is called _____.
Natalka [10]
D) a phenomenon.
It's real, there it is. There is no current explanation for it, but there it is...
3 0
3 years ago
Read 2 more answers
Other questions:
  • A collision volume is called ____
    7·1 answer
  • How does scarcity affect what gets produced
    5·1 answer
  • Create an ArrayList of strings to store the names of celebrities and athletes. Add 5 names to the list. Process the list with a
    10·1 answer
  • Which type of computer operating system would be best for a large corporation?
    7·2 answers
  • Why are conditional statements valuable to programmers? Check all that apply
    5·2 answers
  • What’s the screen that displays results from typing text, performing calculations or running programs?
    9·1 answer
  • 1. Multiple Choice(25 points) 1) 4’b1001 represents the following decimal number______________ a) 8 b) 9 c) 10 d) 11 2) The foll
    10·1 answer
  • Which best describes TPM?
    14·1 answer
  • 2. Which pattern microphone should Jennifer take to the press conference? Jennifer is a journalist with one of the leading newsp
    14·1 answer
  • Will give brainliest
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!