subject
Computers and Technology, 14.04.2020 21:10 cabr379

1.1. (30 points) Write a program to calculate the average number of cars sold by a car agency over a period of years for the first six months of each year. First, the program will ask for the number of years. Then, the program will ask for the number of cars sold for the first six months for the first year. Similarly, the program will repeat asking for the number of cars sold for the first six months of all the remaining years. After all the iterations, the program should display the number of months, the total number of cars sold, and the average number of cars sold per month for the entire period.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:40
Write a program that defines symbolic names for several string literals (chars between quotes). * use each symbolic name in a variable definition. * use of symbolic to compose the assembly code instruction set can perform vara = (vara - varb) + (varc - vard); ensure that variable is in unsigned integer data type. * you should also further enhance your symbolic logic block to to perform expression by introducing addition substitution rule. vara = (vara+varb) - (varc+vard). required: debug the disassembly code and note down the address and memory information.
Answers: 3
question
Computers and Technology, 22.06.2019 23:50
You need to design a circuit that implements the functions in the following table: s0 s1 function0 0 a + 10 1 a ā€“ b1 0 a + b1 1 a ā€“ 1s0 and s1 are 1-bit control inputs to select the function of the circuit. inputs a and b are 4-bitnumbers in 2s complement form. the output is also a 4-bit number in 2s complement form.you are allowed to use only one ttl 7483 4-bit adder to implement all the functions. but anynumber of other components (except the adder) can be used.hint: design a combinational logic circuit to modify the input b and the ā€œcarry inputā€ of theadder depending on the control inputs s0 and s1.important: lab grade will depend on the working of the circuit & will be checked of by your labinstructor.1. is the output valid for the following input combinations: a. s0 = 0, s1 = 0, a = 7, b = 3? b. s0 = 0, s1 = 1, a = 7, b = 3? c. s0 = 1, s1 = 0, a = -4, b = -5? d. s0 = 1, s1 = 1, a = -8, b = 6? 2. what is the range of inputs (for both a and b) that will produce the valid output for all the functions?
Answers: 3
question
Computers and Technology, 23.06.2019 02:30
Rafael needs to add a title row to a table that he has inserted in word. what should he do? use the alignment options. use the merge and center option for all the cells in the top row. use the merge and center option on the first two cells in the top row. none of the above
Answers: 3
question
Computers and Technology, 23.06.2019 13:30
Select the correct answer from each drop-down menu. which types of computer networks are bigger as well as smaller than a man? a man is a network of computers that covers an area bigger than a , but smaller than a .
Answers: 1
You know the right answer?
1.1. (30 points) Write a program to calculate the average number of cars sold by a car agency over a...
Questions
question
Mathematics, 18.12.2020 21:30
question
Mathematics, 18.12.2020 21:30
question
Mathematics, 18.12.2020 21:30
question
Mathematics, 18.12.2020 21:30
question
Mathematics, 18.12.2020 21:30
question
Mathematics, 18.12.2020 21:30
question
Mathematics, 18.12.2020 21:30
Questions on the website: 13722363