Answered step by step
Verified Expert Solution
Question
1 Approved Answer
it is not the the app, which I describe. I do not have any changes, I will just additional rules about writing the code: When
it is not the the app, which I describe. I do not have any changes, I will just additional rules about writing the code:
When writing your code, be sure to write it in accordance with ANSIC standards. Do not use any special compiler mods like C when compiling your code. Below is a code example: points
forint i;i;i wrong coding
int i; fori; i; i correct coding
General program development rules should be followed. For example; Global and static variables should not be used points For large variables such as arrays and matrices, static memory allocation methods should not be used points dynamic memory allocation methods should be used.
Naming Rules
Below are the rules we expect you to follow regarding naming while coding.
Variables: Variables should not start with special characters $ etc. even if the programming language allows it Variable names should be named according to their intended use. Conventional alphabetic characters ij etc. should be used for index variables. You must name the variable with lowerCamelCase notation. Examples:
int ij;
char c;
float maxValue;
Methods and Functions: Method and function names should be named with lowerCamelCase notation in accordance with the purpose of use. Examples:
void run
void runFast
int getMaxValue
Macros: Constant values defined with macros should be named with UPPERCASE notation.
#define SIZE
#define PI
And no HEADER files!
GCC version
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started