pseudo code 4 group

Download Pseudo Code 4 Group

If you can't read please download the document

Upload: corey-becker

Post on 24-Dec-2015

224 views

Category:

Documents


1 download

DESCRIPTION

code

TRANSCRIPT

Declare array carModelArray[200] AS stringDriver(0)Print "You will be prompted to enter data on various cars. Enter '999' as the skid length of the vehicle when you are done."listValues()END DriverFunction readValues(skidlength, roadSlope: real, j:integer)DoPrint "Please enter length of skid marks in feet."Read skidlengthWhile skidlength -30 OR roadSlope < 30Print "Please enter model of car."Read carModelArray[j]EndifEND readValuesFunction calculateSpeed(sLengthArray[], rSlopeArray[], speedArray[]: real, j: integer)Declare slopeTangent, slopeRad AS realreadValues(sLengthArray, rSlopeArray, j)slopeRad