Answered step by step
Verified Expert Solution
Link Copied!

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 ANSI-C standards. Do not use any special compiler mods (like C99) when compiling your code. Below is a code example: (-5 points)
for(int i=0;i<10;i++)..// wrong coding
int i; for(i=0; i<10; i++)..// correct coding
General program development rules should be followed. For example; Global and static variables should not be used (-5 points). For large variables such as arrays and matrices, static memory allocation methods should not be used (-10 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 ('i','j' etc.) should be used for index variables. You must name the variable with lowerCamelCase notation. Examples:
int i,j;
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 10
#define PI 3
- And no HEADER files!
- GCC 4.9.2--> version

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions