Computers and Technology
, 21.06.2019 16:30 ian1588

# Sara is writing a program to input her monthly phone bills and output the month name and amount for the month with maximum amount. she has defined an array to hold the month names. complete the pseudocode program. [6] # program to output maximum month's phone bill monthname ["january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december"] # define an array to hold the phone bills for each month

Answers: 1

Show answers

Computers and Technology, 21.06.2019 23:30

4.11 painting a wall (1) prompt the user to input integers for a wall's height and width. calculate and output the wall's area (integer). note that in this case there is a new line after each prompt. (submit for 1 point). enter wall height (feet): 11 enter wall width (feet): 15 wall area: 165 square feet (2) extend to also calculate and output the amount of paint in gallons needed to paint the wall (floating point). assume a gallon of paint covers 350 square feet. store this value in a variable. output the amount of paint needed using the %f conversion specifier. (submit for 2 points, so 3 points total). enter wall height (feet): 11 enter wall width (feet): 15 wall area: 165 square feet paint needed: 0.471429 gallons (3) extend to also calculate and output the number of 1 gallon cans needed to paint the wall. hint: use a math function to round up to the nearest gallon. (submit for 2 points, so 5 points total). enter wall height (feet): 11 enter wall width (feet): 15 wall area: 165 square feet paint needed: 0.471429 gallons

Answers: 3

Answer

Computers and Technology, 22.06.2019 01:00

)a grad student comes up with the following algorithm to sort an array a[1..n] that works by first sorting the first 2/3rds of the array, then sorting the last 2/3rds of the (resulting) array, and finally sorting the first 2/3rds of the new array. 1: function g-sort(a, n) . takes as input an array of n numbers, a[1..n] 2: g-sort-recurse(a, 1, n) 3: end function 4: function g-sort-recurse(a, `, u) 5: if u â’ ` â‰¤ 0 then 6: return . 1 or fewer elements already sorted 7: else if u â’ ` = 1 then . 2 elements 8: if a[u]

Answers: 3

Answer

Computers and Technology, 22.06.2019 03:40

Hello my name is mihai and i need your : )i have to do a python project in computer science and i’m really busy with my mocks this period of time besides this i’m not good at coding so could someone pls pls pls sort me out ? i actually beg ; ))

Answers: 1

Answer

Computers and Technology, 23.06.2019 21:40

Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings. for each match, add one point to user_score. upon a mismatch, end the game. sample output with inputs: 'rrgbryybgy' 'rrgbbrybgy'

Answers: 3

Answer

Sara is writing a program to input her monthly phone bills and output the month name and amount for...

Mathematics, 12.04.2021 17:50

What value(s) for n will make this equation true?

Engineering, 12.04.2021 17:50

A low-resistance path in a circuit, commonly called a can cause a circuit breaker to trip A. short circuit B. closed circuit C. parallel...

History, 12.04.2021 17:50

Which of the following sentences from the speech provides evidence for Reeve's claim that we should increase funding for medical research? A: And if...

Mathematics, 12.04.2021 17:50

3. Write a function to represent the sequence listed below. 2, 7, 12, 17, 22, 27 A. B. C. D. f(x) = 3x + 1 f(x) =...

Mathematics, 12.04.2021 17:50

A 12 inch candle and an 18 inch candle are lit. The 12-in. candle burns 0.5 inches every hour. The 18 inch candle burns two inches every hour. Which i...

Mathematics, 12.04.2021 17:50

3x²+6x+8=6 find the discriminant...

Biology, 12.04.2021 17:50

Usually, many mutations are needed to transform a normal cell into a cell. As we age we accumulate more and more ....

Chemistry, 12.04.2021 17:50

What is a chemical property...

Mathematics, 12.04.2021 17:50

How many millimeters are there in 3.58 meters? 358 millimeters 358,000 millimeters 35,800 millimeters 3,580 millimeters...

Mathematics, 12.04.2021 17:50

there are approximately 25,000 polar bears worldwide. some scientists estimate that the polar bear population has been declining at a yearly reduction...

English, 12.04.2021 17:50

50 POINTS Can someone please wright a formal email about the two prompts with the person that you are sending it to and the subject You w...

Mathematics, 12.04.2021 17:50

WHATS 10×20 JK JK Have a great day God loves you! ≤3...

Biology, 12.04.2021 17:50

Why is magnetism an example of a non-contact force? 1)Magnetic fields can push or pull objects. 2)Magnets can hold materials in place.

Mathematics, 12.04.2021 17:50

I need your help ASAP

Mathematics, 12.04.2021 17:50

The graph represents the piecewise function...

Mathematics, 12.04.2021 17:50

JL=43, JB = 9 and CK=12. Find the perimeter of AJLK JK, KL, and DJ are all tangent to circle 0. .0

Physics, 12.04.2021 17:50

Is it possible to have an antinode where the cord meets the pulley? give your answer as a CER...

Mathematics, 12.04.2021 17:50

Does a negative exponent let you know how big or small the number is...

Chemistry, 12.04.2021 17:50

In your lab write-up, three possibilities for the mechanism of the rate determining step were listed. 1. The rate-determining step has two iodide ions...

Mathematics, 12.04.2021 17:50

What is the measure of the unknown angle? 50 degrees= n?...

More questions: Computers and Technology Another questions