Answer the given question with a proper explanation and step-by-step solution. Please, do it carefully and completely. [ You will write test code in a text document, the code you have written through file reading will be developed to detect the given attributes. For example, when you write a comment line, it will write the code line number to the test code for compiler purposes, it will say that there is a comment line in this line and it will reflect what is written.] While writing your codes, you must use explanation lines and descriptive expressions for your codes. The compiler you will code will be capable of recognizing the following language features; Note: The compiler code will run by reading the file, in which sample code will be written to create a text document and test the following features. Variable definition as numeric and character set Assigning values to variables Mathematical (+, -, *, /, %) operations Printing information on the screen Getting value from user Conditional operation (if-else) Loop (for, while) Description line
Answer the given question with a proper explanation and step-by-step solution.
Please, do it carefully and completely.
[ You will write test code in a text document, the code you have written through file reading will be developed to detect the given attributes. For example, when you write a comment line, it will write the code line number to the test code for compiler purposes, it will say that there is a comment line in this line and it will reflect what is written.] While writing your codes, you must use explanation lines and descriptive expressions for your codes. The compiler you will code will be capable of recognizing the following language features;
Note: The compiler code will run by reading the file, in which sample code will be written to create a text document and test the following features.
Variable definition as numeric and character set
Assigning values to variables
Mathematical (+, -, *, /, %) operations
Printing information on the screen
Getting value from user
Conditional operation (if-else)
Loop (for, while)
Description line
Use C, C# or python as programming language
Step by step
Solved in 3 steps with 1 images