Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

C programming - Basic

12/09/2020 Client: ericsermon1000 Deadline: 24 Hours

Develop a C (or C++) program that reads an unsigned number in some base and outputs the


equivalent value in BCD.


Your program must require a single command line argument, the name of an input file. This


input file will consist of any number of lines, each falling into one of three varieties:


1. Comment - These lines always start with an asterisk ('*') and should be completely


ignored.


2. Blank line - Used to visually organize the input file and should be completely ignored.


3. Data line - These are the ones your program will process and are described below.


Data lines will all have exactly two items separated by a single space character:


1. an input base (2 through 16) and


2. an input value in that base whose decimal equivalent will never be more than 6 digits


For each Data line from the input file, you must output:


1. the line number of the input file this data line is on (starting the file with line 1… same as


a text editor would show)


2. a colon followed by a space


3. the BCD equivalent of the input value , four bits at a time with one space between each


set of bits. Remember the decimal values will not exceed 6 digits, so the BCD value will


never exceed 24 bits, not including whitespace between 4-bit sets. NEVER print any


leading bit sets that contain only zeros…


a. eg, instead of 0000 0101 0000 1000, you would print 0101 0000 1000


b. only exception is if the value itself is zero, as in the example below


Example input file Expected output to console


* a first example


2 011000


8 70


7 0


11 3A


* This is long


10 123456




Results


2: 0010 0100


4: 0101 0110


5: 0000


6: 0100 0011


9: 0001 0010 0011 0100 0101 0110

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Academic Master
Top Academic Guru
Assignment Hub
Writing Factory
Homework Tutor
Buy Coursework Help
Writer Writer Name Offer Chat
Academic Master

ONLINE

Academic Master

I have super grip on essays, case studies, reports and discussion posts. I am working on this forum from last 6 years with full amount of satisfaction of my clients.

$40 Chat With Writer
Top Academic Guru

ONLINE

Top Academic Guru

This project is my strength and I can fulfill your requirements properly within your given deadline. I always give plagiarism-free work to my clients at very competitive prices.

$35 Chat With Writer
Assignment Hub

ONLINE

Assignment Hub

I feel, I am the best option for you to fulfill this project with 100% perfection. I am working in this industry since 2014 and I have served more than 1200 clients with a full amount of satisfaction.

$55 Chat With Writer
Writing Factory

ONLINE

Writing Factory

I can help you with creating a presentation of one slide for The Word of William Hunter. I will be happy to offer you 100% original work with high-quality standard, professional research and writing services of various complexities.

$25 Chat With Writer
Homework Tutor

ONLINE

Homework Tutor

Hello client, I have gone through the project specifications you have provided and I can easily manage the task. I am an experienced writer with diverse Knowledge in Article writing and Rewriting, Dissertations & Thesis writing, reports, case studies, and Literature Review.

$35 Chat With Writer
Buy Coursework Help

ONLINE

Buy Coursework Help

I can help you with your project. I will make sure to provide you exceptional quality work within the required timeframe. Please message me so we can discuss the further details over chat.

$35 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Ideal pn junction diode - Reduction of camphor using sodium borohydride - Research assignment Aviation Law - How to make black powder without sulfur - Cape schanck walking track - Melbourne city tram map - How to build a chicken skeleton - Bailey 4m extension ladder - Member railwayspensions co uk - 3 phase generator diagram - Ethical decisions have extended consequences - Cultural Diversity - Monomial factors of polynomials - Accented neutral color scheme room - The whole business with kiffo and the pitbull essay - Piece of flash fiction 2 - Fishbone diagram for service industry - Objets de la classe - Homework help for college students - Chrome flags enable site per process - Index of refraction sodium chloride - Lutron wiring diagram uk - Iphone repair burbank and whitsett - 587 virginia ave ne apt 806 - The following refers to units processed in sunflower printing's binding department in march. - Quality control analytics at toyota excel - Philosophical problems an annotated anthology pdf - College assesment quiz - Dinner for schmucks lunch scene - How to calculate the spring constant of a rubber band - Acts 2 1 13 - Mhhe virtual labs paramecium - Reducing adjective clauses to adjective phrases exercises - Marketing - Unit 6 Assignment - Debate: Privacy on the Job and Training and Development - Practice management software does all of the following except - Describe perplexity and wonderment as ways to god - Research - Bottom-up and top-down - Homework controversy new york times - Does increasing temperature decrease density - Through the arc of the rainforest pdf - 463 fox run road findlay oh - Bbc languages spanish games - Gantt chart for wedding project - History of the earth timeline activity - Are scania trucks reliable - Abortion in italy a right wronged - How to find mass of acetic acid in vinegar - Chris gardner jr net worth - 272 kw to hp - English Composition I - Essentials of investments 10th edition pdf - All saints church speke - Atlantis eyecare long beach - Osha test questions and answers - Marshfield applicant exam - Write signature essay on the prompt given below. - Organization wide policy framework implementation plan - 561 week 7 power point replies - Discussion - How to use electric meter - Colonial first state first choice - Can aboriginals say nigga - How much is a crisis payment for extreme circumstances - Middleton cheney community primary school - 2 way manova spss - Stakeholders in the intervention - Uncollected goods left for repair - Titration of 7up lab report - Managerial Accounting - Footlight mt light bold - You're a good man charlie brown sally monologue - Journal - Woodcock johnson iv score ranges - Uses of binary number system - Dav public school ludhiana - MGMT discussion - How to write a historiography - Hyperion road guardian dash cam walmart - Goodstart early learning webmail - In cell l5 enter an if function - Blidworth and ravenshead surgery - Is the self ionisation of water endothermic - Sample oath of office philippines - America History 2 - Slim chickens slims plate calories - Nuffield academy online kallidus 1 - Marketing excellence nike case study solution - Codecademy student becomes the teacher answers - Stator copper loss formula - Market-skimming pricing would likely be most effective in selling [blank]. - Photosynthesis and cellular respiration test - Pharapharse - How to check bridge rectifier - Case study on staffing function of management - Melting point of suppositories - Lost dog budweiser commercial song - Shure slx frequency chart - What are the parts of book review