subject
Computers and Technology, 02.10.2019 00:00 Clerry

Write a program that accepts a time as an hour and minute. add 15 minutes to the time, and output the result. example 1: enter the hour: 8 enter the minute: 15 it displays: hours: 8 minutes: 30 example 2: enter the hour: 9 enter the minute: 46 it displays: hours: 10 minutes: 1

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
3. (6 pts) internally in the computer, with few exceptions, all numerical computation is done using binary numbers. output, however, often uses ascii, which is formed by appending 011 to the left of a bcd code. thus, an algorithm that directly converts a binary integer to a bcd integer is very useful. here is one such algorithm 1) draw lines to the left of the binary number to bound the expected bcd decades. (each decade is a group of 4 bits.) move the binary number one bit to the left. add 0011 to each bcd decade containing a binary value> 0100 repeat steps 2-3 until the last bit in the binary number has been moved into the least significant decade position. (note that when the last bit has been shifted into bcd decade, step 3 is not repeated.) read the bcd result. 2) 3) 4) 5) a) execute the algorithm for the binary number 1101101 b) execute the algorithm for the binary number 01110101110 4. (4 pts) represent the decimal number 3568 in bcd; excess-3 code; ascil; and hex.
Answers: 1
question
Computers and Technology, 22.06.2019 04:00
Which spereadsheet type will determine how well a bussiness has done over the past year
Answers: 1
question
Computers and Technology, 22.06.2019 10:30
Choose the best explanation for the following statement communication is symbolic
Answers: 3
question
Computers and Technology, 23.06.2019 23:40
Which of the following calculates the total from the adjacent cell through the first nonnumeric cell by default, using the sum function in its formula? -average -autosum -counta -max
Answers: 1
You know the right answer?
Write a program that accepts a time as an hour and minute. add 15 minutes to the time, and output th...
Questions
question
Social Studies, 04.07.2019 19:00
question
Spanish, 04.07.2019 19:00
question
Physics, 04.07.2019 19:00
question
Mathematics, 04.07.2019 19:00
Questions on the website: 13722362