Conversion of a text file to a specific text file

Attached are the input and output files, both in text format. The conversion logic is as follows:

These set of statements will get converted to one statement, which I have stated below.

assign n70 = n52 & G4gat;

assign n71 = G4gat & keyinput0;

assign n72 = n52 & keyinput0;

assign n73 = n70 | n71;

assign n74 = n73 | n72;

BASIC_1 dummy_0(.A (n52), .B (G4gat), .C (keyinput0), .Y(n74));

The general format is: BASIC_1 dummy_0(.A (a), .B (b), .C (c), .Y(y));

a & b will get the values from the RHS of line 1 (n52 & G4gat)

c will get value from the extreme rightmost data of line 2/line 3 (keyinput0)

y will get the value after the assign statement of line 5 (n74)

dummy_0 will be incremented to dummy_1 and dummy_2 on subsequent conversions.

if conversion is correct, this should be the answer: BASIC_1 satwik_0(.A (n52), .B (G4gat), .C (keyinput0), .Y(n74));

Also these 5 lines should be REPLACED by this line.

A general automation is required such that statements appearing in a text file are replaced. Normally 8,16,32,64 or 128 instances can be found in a given text file.

Habilidades: Programação C, Programação C++ , Python

Veja mais: programming statement, extreme programming, c programming if statement, answer set programming, php specific data text file, printing specific lines text file perl, perl script delete specific text text file, binary file text file conversion, linux sort text file specific position, using text files input output vbasic 2008, print specific line text file using perl, text file conversion, java text file parsing, import text file sql, flash toys random fact text file, create flash quiz text file, reading text file flash scrolling object, sort text file, read text file, english japanese text file translation

Acerca do Empregador:
( 13 comentários ) Mumbai, India

ID do Projeto: #11169308

Concedido a:


Hello... it looks as easy assignment, it's possible to complete it in few hours of pure working time.

₹1515 INR em 1 dia
(1173 Comentários)

5 freelancers estão ofertando em média ₹4743 para esse trabalho


Hi. This is a very simple project and I can complete it easily, today. I am ready to start working ASAP thank you

₹1500 INR em 1 dia
(73 Comentários)
₹7368 INR in 3 dias
(74 Comentários)

Pm me.....................................................................................................

₹7777 INR in 3 dias
(36 Comentários)

Hi Im an expert in .Net technologies This is a very simple task Can be done in about 2 hours regards Carlos

₹5555 INR em 1 dia
(6 Comentários)