Write Program Asks User Enter Number Seconds 60 Seconds Minute Number Seconds Entered User Q43892383
Write a program that asks the user to enter a number ofseconds.
* There are 60 seconds in a minute. If the number of secondsentered by the user is greater than or equal to 60, the programshould display the number of minutes in that many seconds.
* There are 3,600 seconds in an hour. If the number of secondsentered by the user is greater than or equal to 3,600, the programshould display the number of hours in that many seconds.
*There are 86,400 seconds in a day. If the number of secondsentered by the user is greater than or equal to 86,400, the programshould display the number of days in that many seconds.
*Submit in Java Format
Expert Answer
Answer to Write a program that asks the user to enter a number of seconds. * There are 60 seconds in a minute. If the number of se…
Write Program Assembly P3 Assembler Simulator Given Puzzle Calculates Manhattan Distance E Q43901721
a) Write a program in Assemblyfor P3 Assembler and Simulator that for any given puzzle calculatesthe Manhattan distance from the empty space to the inferior rightcorner. The program should have has an entry a vector of 16positions, wich representes a given puzzle , showed in memorysequence , from the position 8000h. The exit of the program, i.ethe Manhattan distance asked , should be in R1. If there is anerror , should be returned in R1 the value of FFFFh.
b) Write a program in Assemblyfor P3 Assembler and Simulator that takes a given puzzle as anentry , in the same format as the previous point , and returns inR2 the total number of inversions of each of the 16 positions ofthe puzzle board till the final position. In case there is an errorshoud be returned in R2 the value of FFFFh.
Expert Answer
Answer to a) Write a program in Assembly for P3 Assembler and Simulator that for any given puzzle calculates the Manhattan distanc…
Write Program C Find Maximum Number Two Numbers Using Pointer Please Write Programming C L Q43864111
Write a program in C to find the maximum number between twonumbers using a pointer.
Please write this in programming C language and please explainwhat we are doing in each step.
Expert Answer
Answer to Write a program in C to find the maximum number between two numbers using a pointer. Please write this in programming C …
Write Program C Flowchart Best Friends Dog Rescue Hosting Movie Charity Event Needs Help C Q43823294
Write a program in C++ and flowchart. Best Friends Dog Rescue ishosting a Movie Charity Event and needs your help capturing whatpercentage of the night’s sales will be donated to their rescuegroup. The program should calculate total cost for the number ofmovie tickets sold for Adults and Children, as well as Snack Sales.The total combined sales for movie ticket sales and snacks shouldbe calculated; and then the percentage of that total calculated.You must use three different arrays – These are, in effect,parallel arrays: One for Adult Movie Ticket Sales One for ChildMovie Ticket Sales One for Snack Sales Remember to use a “for” loopfor each array You should have totals in $ amount for: Adult MovieTickets sold Children Movie Tickets sold Snack Tickets sold Overalltotals, combining all 3 categories Percentage for the total 3categories – the % amount is your choice; for the program outcomeshown below, 45% was used Hints and Suggestions: You can set yourown movie prices – for example, adult ticket is $15 You can set howmany tickets have been sold in each category – for example, 5 adulttickets sold You can also write the program to ask the user forthis input, but this is not required 5. At the end, it prints outthe total dollar amount spent on sales for Adult Movie Tickets,Children Movie Tickets, and Snack Sales; and then an overall totalspent. The percentage is then calculated, so the Rescue Group knowshow much money they will receive Here is what the output lookslike.

Welcome to the Best Friends Dog Rescue Charity Night at the Movies! Ticket Sales for Adults: Adult Ticket Price: $15.5 Adult Ticket Price: $15.5 Adult Ticket Price: $25.0 Adult Ticket Price: $25.0 Adult Ticket Price: $5.0 Adult Ticket Price: $7.5 Total Adult Ticket sales are $93.5. Ticket Sales for Children: Child Ticket Price: $8.5 Child Ticket Price: $12.5 Child Ticket Price: $8.5 Child Ticket Price: $15.5 Total Child Ticket sales are $45.0 Snack Sales: Snack Prices: $5.0 Snack Prices: $7.5 Snack Prices: $5.0 Snack Prices: $8.0 Total Snack Sales are $25.5. Total Ticket Sales are $164.0. The total donation for the Charity Event is $73.8. Show transcribed image text Welcome to the Best Friends Dog Rescue Charity Night at the Movies! Ticket Sales for Adults: Adult Ticket Price: $15.5 Adult Ticket Price: $15.5 Adult Ticket Price: $25.0 Adult Ticket Price: $25.0 Adult Ticket Price: $5.0 Adult Ticket Price: $7.5 Total Adult Ticket sales are $93.5. Ticket Sales for Children: Child Ticket Price: $8.5 Child Ticket Price: $12.5 Child Ticket Price: $8.5 Child Ticket Price: $15.5 Total Child Ticket sales are $45.0 Snack Sales: Snack Prices: $5.0 Snack Prices: $7.5 Snack Prices: $5.0 Snack Prices: $8.0 Total Snack Sales are $25.5. Total Ticket Sales are $164.0. The total donation for the Charity Event is $73.8.
Expert Answer
Answer to Write a program in C++ and flowchart. Best Friends Dog Rescue is hosting a Movie Charity Event and needs your help captu…
Write Program C Flowchart Best Friends Dog Rescue Hosting Movie Charity Event Needs Help C Q43825320
Write a program in Cand flowchart. Best Friends Dog Rescue is hosting a Movie CharityEvent and needs your help capturing what percentage of the night’ssales will be donated to their rescue group. The program shouldcalculate total cost for the number of movie tickets sold forAdults and Children, as well as Snack Sales. The total combinedsales for movie ticket sales and snacks should be calculated; andthen the percentage of that total calculated. You must use threedifferent arrays – These are, in effect, parallel arrays: One forAdult Movie Ticket Sales One for Child Movie Ticket Sales One forSnack Sales Remember to use a “for” loop for each array You shouldhave totals in $ amount for: Adult Movie Tickets sold ChildrenMovie Tickets sold Snack Tickets sold Overall totals, combining all3 categories Percentage for the total 3 categories – the % amountis your choice; for the program outcome shown below, 45% was usedHints and Suggestions: You can set your own movie prices – forexample, adult ticket is $15 You can set how many tickets have beensold in each category – for example, 5 adult tickets sold You canalso write the program to ask the user for this input, but this isnot required 5. At the end, it prints out the total dollar amountspent on sales for Adult Movie Tickets, Children Movie Tickets, andSnack Sales; and then an overall total spent. The percentage isthen calculated, so the Rescue Group knows how much money they willreceive Here is what the output looks like.

Welcome to the Best Friends Dog Rescue Charity Night at the Movies! Ticket Sales for Adults: Adult Ticket Price: $15.5 Adult Ticket Price: $15.5 Adult Ticket Price: $25.0 Adult Ticket Price: $25.0 Adult Ticket Price: $5.0 Adult Ticket Price: $7.5 Total Adult Ticket sales are $93.5. Ticket Sales for Children: Child Ticket Price: $8.5 Child Ticket Price: $12.5 Child Ticket Price: $8.5 Child Ticket Price: $15.5 Total Child Ticket sales are $45.0 Snack Sales: Snack Prices: $5.0 Snack Prices: $7.5 Snack Prices: $5.0 Snack Prices: $8.0 Total Snack Sales are $25.5. Total Ticket Sales are $164.0. The total donation for the Charity Event is $73.8. Show transcribed image text Welcome to the Best Friends Dog Rescue Charity Night at the Movies! Ticket Sales for Adults: Adult Ticket Price: $15.5 Adult Ticket Price: $15.5 Adult Ticket Price: $25.0 Adult Ticket Price: $25.0 Adult Ticket Price: $5.0 Adult Ticket Price: $7.5 Total Adult Ticket sales are $93.5. Ticket Sales for Children: Child Ticket Price: $8.5 Child Ticket Price: $12.5 Child Ticket Price: $8.5 Child Ticket Price: $15.5 Total Child Ticket sales are $45.0 Snack Sales: Snack Prices: $5.0 Snack Prices: $7.5 Snack Prices: $5.0 Snack Prices: $8.0 Total Snack Sales are $25.5. Total Ticket Sales are $164.0. The total donation for the Charity Event is $73.8.
Expert Answer
Answer to Write a program in C and flowchart. Best Friends Dog Rescue is hosting a Movie Charity Event and needs your help capturi…
Write Program C Implements Concept Encapsulation Abstraction Polymorphism Q43781704
Write any Program In C# where it implements the concept ofEncapsulation, Abstraction, and Polymorphism.
Expert Answer
Answer to Write any Program In C# where it implements the concept of Encapsulation, Abstraction, and Polymorphism….
Write Program C Language Convert Given 5 Char String S Ascii Binary String Example Input M Q43865912
Write a program(C language) to convert a given 5 charstring into it’s ASCII binary string.
For example, if input is “Mad” then outputis
4D 61 64 (ASCII string) and
01001011 01100001 01100100(binary from).
please give the explanation also
Expert Answer
Answer to Write a program(C language) to convert a given 5 char string into it’s ASCII binary string. For example, if input is “Ma…
Write Program C Language Open File Named Testdat Suppose File Stores 100 Letters Delete O Q43873632
Write a program in C language to open a file named “test.dat”.Suppose the file stores at most 100 letters. Delete all occurrencesof the letter ‘a’ in the file.
Expert Answer
Answer to Write a program in C language to open a file named “test.dat”. Suppose the file stores at most 100 letters. Delete a…
Write Program C Language Perform Matrix Merging Operation Two Matrices Matrix Two Dimensio Q43873760
Write a program in C language to perform the“matrix merging” operation of two matrices. A matrix is atwo-dimensional structure. For example,
is a 2 × 3 matrix (i.e., 2 rows and 3 columns).
Please write a program that receives two matrices (whoseelements are integers) from users, and then computes and prints theresult of the “matrix merging” operation of them. Your programshould first let the user specify the size of each matrix (i.e.,the number of rows and the number of columns of each matrix), thenlet the user input the value of each element of each matrix.Suppose the size of each matrix is at most 10×10 (i.e., at most 10rows and at most 10 columns).
Your program should check the validity of inputs and ask theusers to re-input every detected invalid input. The following casesof invalid inputs should be considered:
*The number of columns/rows of the matrix is not an integer inthe range [1, 10]
*The value of each element is not a positive integer
*The number of columns of matrix A does notequal the number of rows of Matrix B
Expert Answer
Answer to Write a program in C language to perform the “matrix merging” operation of two matrices. A matrix is a two-dimension…
Write Program C Language Receives Number Positive Integers User Creates Double Linked List Q43873651
Write a program in C language that receives anumber of positive integers from theuser, and creates a double linked list tostore these letters (in their input order). The user may inputarbitrarily many positive integers, untilhe/she inputs a negative integer.
Expert Answer
Answer to Write a program in C language that receives a number of positive integers from the user, and creates a double linked lis…