APlusGrades

Not Rated (0)

$15/per page/Negotiable

About APlusGrades

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing,Foreign Languages,Geography,Geology,Health & Medical,HR Management,Law,Management,Physics,Programming,Science,Statistics Hide all
Teaching Since: Jul 2017
Last Sign in: 374 Weeks Ago
Questions Answered: 1850
Tutorials Posted: 1850

Education

  • Graduate in Biology and Nutrition, MBA Finance
    Florida State University
    Aug-2000 - Jul-2007

Experience

  • Ass. Relationship Manager
    Penn-Florida
    Mar-2009 - Feb-2016

Category > Computer Science Posted 15 Jul 2017 My Price 11.00

Race Boat application

I need help with this..

 

In this project, you will make Race Boat application. Each Race Boat has a name. The name of the boats should be read from a file "boats.txt". You can assume there will be a maximum of 100 boats. Copy and paste the following boat names in the boat.txt file:

 

Sea Monkey

Backdraft

Cast Away

Nautifish

Destiny

 

The application should be able to accept commands from the user. The user has to provide the commands in the following format:

 

<Boat name>, <command>

 

Example:

Sea Monkey, power on

Sea Monkey, turn left

Sea Monkey, speed up

 

The acceptable commands are the following (Any other command should be considered invalid):

 

 

Command (1st line in bold)

Description (2nd line non-bold):

 

power on

This commands powers up the boat

power off

This commands powers off the boat

speed up

This commands increases the boat speed by the minimum speed increment 2 mph

slow down

This commands decreases the boat speed by the minimum speed decrement 2 mph

turn left

This commands turns the boat to the left by the minimum left turn degree 5 deg

turn right

This commands turns the boat to the right by the minimum right turn degree 5 deg

 

 

After each command is entered and executed, the state of the boat should be output.

 

Backdraft at the speed of 10 mph moving in the direction 330 deg.

Answers

Not Rated (0)
Status NEW Posted 15 Jul 2017 04:07 PM My Price 11.00

Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â-----------  -----------Tha-----------nk -----------you----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m Â----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I

Not Rated(0)