Questionthere are eight cars in every team called chevy and

Assignment Help Computer Engineering
Reference no: EM13348281

Question

There are eight cars in every team called Chevy and Ford. One car from each team races its opponent on drag strip. Read in racing times for the eight Chevy cars and then read in times for the eight Ford cars. Accumulate the times into arrays known as Chevy[ ] and Ford[ ]. Then catalogue the winner of each pair, giving number of seconds the winner won by. At the ending declare that team won based on which team had most wins. Below is an example.

Enter the times for the Chevy cars: 5.4 7.2 4.0 9.1 5.8 3.9 6.2 8.1
Enter the times for the corresponding Ford cars: 5.8 6.9 3.9 9.2 5.8 3.8 6.0 8.5
And the winners are:
Chevy by 0.4 sec
Ford by 0.3 sec
Ford by 0.1 sec
Chevy by 0.1 sec
Tie !
Ford by 0.1 sec
Ford by 0.2 sec
Chevy by 0.4 sec
and the winning team is: F O R D!

1. Allow the racing times for each of the Chevy cars into the array Chevy[ ].
2. Allow the racing times for each of the Ford cars into the array Ford[ ].
3. Then declare the wining car for each race, giving the winning time in seconds.
4. If the times are identical, then declare the race was a tie.
5. Finally, declare that team won the match, assuming a tie is possible.

Make sure to think about logic and design first (IPO chart, pseudo code, and flowchart), then code Visual Basic program.

 

Reference no: EM13348281

Questions Cloud

Questiongeneral mills nyse gis is a large distributor and : questiongeneral mills nyse gis is a large distributor and manufacturer of package consumer food products. benoit
Questionhome wireless network and securitymethodology- : questionhome wireless network and securitymethodology- review topics covered in lecture hours from textbook reference
Question in each of the given scenarios evaluate in regards : question in each of the given scenarios evaluate in regards to the exchange with xaas amount realized bas loss or gain
Questionday of the yearassume that a year has 365 days : questionday of the yearassume that a year has 365 days write a class named dayofyear that gets an integer representing
Questionthere are eight cars in every team called chevy and : questionthere are eight cars in every team called chevy and ford. one car from each team races its opponent on drag
Questionillustrate a memory map for a system with a memory : questionillustrate a memory map for a system with a memory capability of 512mb. each memory location in system is 8
Questionyou use a 1 ghz system with paged virtual memory : questionyou use a 1 ghz system with paged virtual memory for doing a real-time application. no other application is
Questionpurchased merchandise from blue company under the : questionpurchased merchandise from blue company under the given terms 3700 price invoice dated april 2 credit terms of
Questiona computer has 16 pages of virtual address space : questiona computer has 16 pages of virtual address space except only four physical pages. firstly physical memory is

Reviews

Write a Review

Computer Engineering Questions & Answers

  Explain why 802.11b is the first popular standard

the first widely popular standard and still by far most used by IT industry today.

  What do you mean by an entity

How is it possible to get more information from the equal amount of data though using a database approach as opposed to a file approach.

  Decreasing risk of malicious attacks

While a large percentage of the information technology security budgets is devoted to decreasing the risk of malicious attacks, there exist other ways in which systems or data become damaged.

  Why there is a delay through combinational logic

In this representation every instruction takes at most 4 steps to complete a clock cycle. Explain what happens in each step of the clock cycle.

  Handling the situation of passing of fragment through filter

If ?rst fragment is rejected, all the susequent fragments can be rejected. Though, the nature of IP is such that fragments can arrive out of order. However, an intermediate fragment may pass through ?lter before initial fragment is rejected.

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Tracking down people to obtain people

A city government wants to track down the people who run the small businesses and do not pay the city’s $125 business-license fee.

  Create a web page tags.aspx for viewing tags

Create a web page Tags.aspx for viewing tags. Use a GridView control to provide access to the list of tags in the database. Put checkboxes beside each tag.

  How to display the sorted data

Using Java write down a program to create a file named Exercise8_5.txt if it does not exist. Write 100 randomly created integers into the file using text I/O. Integers are separated by spaces in the file. Read the data back from the file and displ..

  Baseline for the linux system

Describe briefly the purpose of the baseline. Explain the areas of system would you involve in the baseline for your Linux system?

  Express the top five categories of problems

Compare the two different systems and present the findings in tabular format.

  Illustrate the system processed from the viewpoint

Illustrate the system processed from the viewpoint

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd