answersLogoWhite

0

print (mainnumber) (subtract,division,adding,mutipliction) (number taken out,added)

example

code

print 5 + 5

compiled look

10

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Is it necessary to know the syntax for solving a problem on the computer?

No. We solve problems with algorithms, not with syntax.


How are algorithms expressed in computer programming?

Algorithms in computer programming are expressed as a set of step-by-step instructions that outline the process for solving a specific problem or performing a task. These instructions are written using a programming language, which provides the syntax and structure needed for the computer to understand and execute the algorithm.


What serves as the basic for coding?

The basic foundation for coding is the logic and syntax of a programming language. It involves understanding the rules and structure of the language to create instructions that the computer can understand and execute. Problem-solving skills and creativity are also essential for writing efficient and effective code.


How do you test computer programming skills?

# Describe a problem and ask the subject to describe a program that would solve it. Possibly ask the subject to write the essence of the solution. Preferably, have the subject write the solution in a programming language that he or she does not know, allowing use of reference material, of course. This measures problem solving abilities, which is far more important than memorization of syntax and design patterns.


How are language syntax and algorithms alike?

Language syntax and algorithms are not alike. These are two different things. Syntax is the specification of how a particular step is described to the compiler, while an algorithm is a syntax independent way of describing the process used to solve a problem.


Programmers must be careful not to make syntax errors when writing pseudocode programs?

By their very nature, pseudo code programs are not compilable and do not conform to the exact syntax of the computer language used. Since they are not compiled there is no issue with syntax errors. When translating from pseudo code to the target computer language is when one must be careful of the syntax, but not when writing pseudo code.


What is database errors?

Testing: Can I leave a message when a syntax error shows up for this page on my computer? Testing: Can I lease a message even though I see a message that says 'syntax error' on this page on my computer?


What desrcibes syntax?

Syntax: " That part of grammar which treats of the construction of sentences; the due arrangement of words in sentences in their necessary relations, according to established usage in any language."


How do you correct syntax error logical error?

Your IDE should include syntax checking, which highlights errors as they occur (similar to a grammar/spell checker in a word-processor). Attempting to compile a program that contains a syntax error will fail to compile, but it should provide a list of all the errors that need to be fixed. If the error is an obvious one, the error list may include a solution to the problem, but you must make the necessary changes manually -- the syntax checker won't modify any code for you, even if the error is an obvious one, such as using . instead of -> on a pointer.


Why is syntax important in VB Scripting?

The syntax of function (I hope that Function is related to function syntax):1. Helps you in using or calling the function even though you do not know the whole implementation inside it2. Helps the compiler in performing the cross check of the function called used in code, as it checks if the syntax matches with used one or not.3. Helps in solving compiler error to some extent.I think it is the 'function prototype' what you think of. Syntax is a set of rules that formally describe a programming language.


What are the different functions of Syntax phase Scheduler?

Syntax Phase Scheduler basically check which process should be allocate from the ready queue to the CPU for execution.


What is syntex?

In computer science a syntax error refers to an error in a sequence of characters which need to be in a specific programming language.