Question: Problem 3 . 3 In the US Interstate system, the numbering of an interstate gives you useful information about the highway. Primary interstates have 1
Problem
In the US Interstate system, the numbering of an interstate gives you useful information about the
highway. Primary interstates have or digit numbers that is between and Oddnumbered
interstates run northsouth, and evennumbered interstates run eastwest. Threedigit interstates
numbered are auxiliary interstates, and the last two digits represent the primary interstate they
serve. If the hundreds digit is odd, then the interstate is a spur. If the hundreds digit is even, the
interstate is a bypass. For example, highway is a spur of which itself runs eastwest.
Do the following:
a Design a flowchart that would take an integer between and display the appropriate
message out of the ones below, based on the rules given above.
i "The Interstate is a northsouth primary interstate."
ii "The Interstate is an eastwest primary interstate."
iii. "The Interstate is a spur of the primary interstate:
##
iv "The Interstate is a bypass of the primary interstate:
##
b Come up with the mathematical expressions you might need to answer the questions in your
flowchart.
Hint: Calculate the expression xMOD for several even and odd values of
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
