Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90) go east/west. Auxiliary highways are numbered 100-999, and service the primary highway indicated by the rightmost two digits. Thus, I-405 services I-5, and l1-290 services I-90. Given a highway number, indicate whether it is a primary or auxiliary highway. If auxiliary, indicate what primary highway it serves. Also indicate if the (primary) highway runs north/south or east/west. Ex: If the input is: 90 the output is: I-90 is primary, going east/west.

Systems Analysis and Design (Shelly Cashman Series) (MindTap Course List)
11th Edition
ISBN:9781305494602
Author:Scott Tilley, Harry J. Rosenblatt
Publisher:Scott Tilley, Harry J. Rosenblatt
ChapterTPA: Toolkit Part A
Section: Chapter Questions
Problem 8RQ
icon
Related questions
Question
Notecard
Study Guide for Fina
zy Section 4.16 - CS 10
O How to use ZyBook
Chapter 15 Powerpo
G What was the purpo
i learn.zybooks.com zybook/VALDOST
OFall2021/chapter/4/section/16
My library > CS 1010: Algorithmic Problem Solving home>
Books
4.16: LAB: Interstate highway numbers
E zyBooks catalog
Help/F
4.16 LAB: Interstate highway numbers
Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90) go
east/west. Auxiliary highways are numbered 100-999, and service the primary highway indicated by the rightmost two digits. Thus, I-405
services l-5, and l-290 services l-90.
Given a highway number, indicate whether it is a primary or auxiliary highway. If auxiliary, indicate what primary highway it serves. Also
indicate if the (primary) highway runs north/south or east/west.
Ex: If the input is:
90
the output is:
I-90 is primary, going east/west.
Ex: If the input is:
290
the output is:
I-290 is auxiliary, serving I-9o, going east/west.
Ex: If the input is:
69°F
P Type here to search
4+
backspace
24
4.
&
7.
8.
23
6
T
Y
G
J.
pause
M
V
alt
ctrl
Transcribed Image Text:Notecard Study Guide for Fina zy Section 4.16 - CS 10 O How to use ZyBook Chapter 15 Powerpo G What was the purpo i learn.zybooks.com zybook/VALDOST OFall2021/chapter/4/section/16 My library > CS 1010: Algorithmic Problem Solving home> Books 4.16: LAB: Interstate highway numbers E zyBooks catalog Help/F 4.16 LAB: Interstate highway numbers Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90) go east/west. Auxiliary highways are numbered 100-999, and service the primary highway indicated by the rightmost two digits. Thus, I-405 services l-5, and l-290 services l-90. Given a highway number, indicate whether it is a primary or auxiliary highway. If auxiliary, indicate what primary highway it serves. Also indicate if the (primary) highway runs north/south or east/west. Ex: If the input is: 90 the output is: I-90 is primary, going east/west. Ex: If the input is: 290 the output is: I-290 is auxiliary, serving I-9o, going east/west. Ex: If the input is: 69°F P Type here to search 4+ backspace 24 4. & 7. 8. 23 6 T Y G J. pause M V alt ctrl
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 4 images

Blurred answer
Knowledge Booster
Binary numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Analysis and Design (Shelly Cashman Serie…
Systems Analysis and Design (Shelly Cashman Serie…
Computer Science
ISBN:
9781305494602
Author:
Scott Tilley, Harry J. Rosenblatt
Publisher:
Cengage Learning