Maurice Tutor

(5)

$15/per page/Negotiable

About Maurice Tutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Algebra,Applied Sciences See all
Algebra,Applied Sciences,Biology,Calculus,Chemistry,Economics,English,Essay writing,Geography,Geology,Health & Medical,Physics,Science Hide all
Teaching Since: May 2017
Last Sign in: 305 Weeks Ago
Questions Answered: 66690
Tutorials Posted: 66688

Education

  • MCS,PHD
    Argosy University/ Phoniex University/
    Nov-2005 - Oct-2011

Experience

  • Professor
    Phoniex University
    Oct-2001 - Nov-2016

Category > Communications Posted 16 Sep 2017 My Price 7.00

Neha's job

When Emily writes code in C, she over uses define statements. Neha hates looking at define statements, as she constantly has to scroll back to the top of the code to figure out what they mean. Write a program that will make Neha's job easier by taking in C code and handling the define replacements.

 

 

Input

 

A .c file.

 

Output

 

A .c file with all the define statements taken care of.

 

Input constraints

 

    • The .c file will successfully compile
    • All define statements will be after the includes and before the main method
    • A define statement will not replace another define statement
    • Each define identifier will not have spaces in it
    • The main method will be the last method

 

 

 

Example

Input: Output:

 

Explanation

Example case 1. .

Answers

(5)
Status NEW Posted 16 Sep 2017 12:09 PM My Price 7.00

Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll

Not Rated(0)