Închis

Continential Statement

Using the IDE of your choice, write a program that takes in a highway number and lets the user know if it is a primary or auxiliary highway.

Note:

U.S. interstate highways that are numbered 1-99 are Primary.

highways that are numbered 100-999 are Auxiliary.

Auxiliary highways service the primary highway indicated by the rightmost two digits. Thus, I-405 services I-5, and I-290 services I-90.

Odd numbers (like the 5 or 95) go north/south.

Even numbers (like the 10 or 90) go east/west.

Given a highway number, indicate whether it is a primary or an 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 would be

I-90 is primary, going east/west.

Ex 2: If the input is 485, the output would be

I-485 is auxiliary, serving I-85, going north/south.

Ex 3: If the input is outside the range, such as 1200, the output would be

1200 is not a valid interstate highway number.

You will need to use if, if-else, and else statements to complete this assignment.

Don’t forget to have blank lines in between each of the output sentences to make it simpler to read (use "\n" or endl)

Don't forget to add comments to your entire program code.

Aptitudini: Programare C++

Vezi mai multe: examples making bank statement using word excel, create bank statement using excel, year budget income statement using marginal costing principles, bank statement using word template, we have a 300 page pdf file we need converted to easily-editable microsoft word format it is very important you transcribe it 10, facebook is using you by lori andrews, facebook is using you bedford reader, facebook is using you analysis, facebook is using you answers, facebook is using you pdf, record what you hear windows 10, can you construct a triangle that has side lengths 2 yd, 9 yd, and 10 yd?, how to install ubuntu using vmware in windows 10, how to transfer files between two laptops using wifi in windows 10, how to connect two computers using wifi in windows 10, using kinect with windows 10, how to run java program in cmd using notepad in windows 10, how to create a profit and loss statement using google sheets, how to send message using cmd in windows 10, how to remove virus using cmd in windows 10

Despre angajator:
( 0 recenzii ) Dubai, United Arab Emirates

ID Proiect: #29450131

5 freelanceri licitează în medie 19$ pentru acest proiect

harissheikh255

Hello, I will do simplest coding in C++, C using OOP, data structures concepts. If it is an assignment then coding will be easily understandable for u. I have done many C/C++ works here. Lets have a chat for further de Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(63 recenzii)
5.4
abidroid

Hi I am an experienced developer and can write program for you according to your needs. Feel free to chat.

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% USD în 3 zile
(1 părere)
1.2
zainablaraib1

Hi there, I’m an enthusiastic software engineer who's expert in C, C== programming. I am available to complete your project right now .I have checked your project, I have worked on similar project before. would do bes Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(0 recenzii)
0.0
tarunadavani002

Hello, i have a good experience of c++ language. I can do this work for you in lesser time with understandable code and comments as you suggested. you can contact me or message me so, we can start your work asap. Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(0 recenzii)
0.0
TouseefThaheem

Hi there, May Allah bless you...?? I have read and understood your requirements. i am willing to generate this code. grant me the project and i will deliver it to you in less than 2 hours. lets talk about it... i am Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(0 recenzii)
0.0