How many cars in every team called chevy and ford

Assignment Help Computer Engineering
Reference no: EM132225

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: EM132225

Questions Cloud

Evaluate the value of one share of gis stock : Evaluate the value of one share of GIS stock using Dividends Valuation Approach.
What is home wireless network and security : What is home wireless network and security Methodology- Review topics covered in lecture hours, from textbook, reference books plus online research, to behaviour a comprehensive study about wireless network security implementation at home.
Evaluate incorporation plan : Except the stock sale is an integral part of the incorporation plan
How to write a class named dayofyear that gets an integer : How to write a class named DayOfYear that gets an integer Day 2 would be January 2 Day 32 would be February 1 Day 365 would be December 31
How many cars in every team called chevy and ford : How many cars in every team called Chevy and Ford There are eight cars in every team called Chevy and Ford. One car from each team races its opponent on drag strip.
How to illustrate a memory map for a system : Illustrate a memory map for a system with a memory capability of 512MB. Each memory location in system is 8 bits.
How many tasks real-time application contain : How many tasks real-time application contain In this particular real-time application, there are many tasks; each runs exact same code except with different data each time.
Compute journal entries of retail store : Compute journal entries to record the above transactions for a retail store.
Which references source page fault with lru page replacement : Which references source a page fault with LRU page replacement policy? Illustrate your intermediate working in table below with three columns.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Design a dedicated datapath

Design a dedicated datapath

  Develop a checkout lane simulation

Develop a checkout lane simulation that can be used to determine the optimal number of lanes that Cougar Mart should have open.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Find minimal cover and identify all possible candidate keys

Find minimal cover and identify all possible candidate keys - Functional Dependencies

  Security vulnerability

What is the security vulnerability of this solution

  Spreadsheet model of the heat transfer situation

Spreadsheet model of the heat transfer situation

  Examine the behavior of airfoil

Write HW assignment written in Matlab airfoils have different C mc/4

  Intermediate programming

Design a program that reads in a text file with drawing commands and then outputs a bitmap with all the items drawn correctly

  Risk assessment of ict system

Risk Assessment of ICT System and Developing Computer Incident Response System on WAMP platform

  Data representation and logic

Representing Text and Numbers, Binary Arithmetic, Interpreting Logical Statements, Logic Puzzle, Binary and Algorithms.

  Calculate the output value of problem

Design a program that reads in a text file with drawing commands and then outputs a bitmap with all the items drawn correctly

  A non-linear circuit problem

Computer program which will calculate the voltage across a resistor in the circuit

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