Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Sample Input and Output: Test Case 1 : Please input truck 1 ' s mass: 4 4 2 5 Please input truck 2 ' s

Sample Input and Output:
Test Case 1:
Please input truck 1's mass:
4425
Please input truck 2's mass:
3906
Please input truck 2's velocity:
21.2
Please input the collision's velocity:
18.4
Please input the speed limit in kmh :
50
Please input the Last name, first name and driver license number for the driver of truck 1:
Doe, Jane, 12345
Jane Doe, Driver license number: 12345, was over the speed limit by 54.94kmh. They have
been fined $549.40
Test Case 2:
Please input truck 1's mass:
4425
Please input truck 2's mass:
3906
Please input truck 2's velocity:
21.2
Please input the collision's velocity:
18.4
Please input the speed limit in kmh :
110
Please input the Last name, first name and driver license number for the driver of truck 1:
Smith, John, 12345678
John Smith, Driver license number: 12345678, was not speeding!
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual C# And Databases

Authors: Philip Conrod, Lou Tylee

16th Edition

1951077083, 978-1951077082

More Books

Students also viewed these Databases questions

Question

LO2 Distinguish among three types of performance information.

Answered: 1 week ago

Question

1. Television more Over watching faceing of many problems ?

Answered: 1 week ago

Question

Is there a link between chronic stress and memory function?

Answered: 1 week ago