answersLogoWhite

0

This is for RPG ILE Programming.

User Avatar

Wiki User

9y ago

Still curious? Ask our experts.

Chat with our AI personalities

JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
RossRoss
Every question is just a happy little opportunity.
Chat with Ross
ProfessorProfessor
I will give you the most educated answer.
Chat with Professor

Add your answer:

Earn +20 pts
Q: Why do you often need two read statements within a program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What statements may appear anywhere you need them in a program?

Any statements may appear anywhere you need them in a program, provided those statements are within the scope of those locations. In modular programming, you must include the module that contains each statement's prototype wherever you intend to use those statements.


Is it possible to make a program that combines a lot of other programs?

Yes. One program can execute another program very easily -- you can even do it via scripting languages and batch programming. Morevoer, programs that provide shared code via one or more libraries make it possible for another program to execute code within those libraries, just as if that code were part of the program itself (no need to execute another program). Such programs often provide application programming interfaces (APIs) to simplify the process of integration.


What is a logical disciplined approach to programming?

Use Software Engineering techniques, specifically UML, to design the structure of the program before-hand. Then you know how different classes within the program (assuming you are using an Object-Oriented approach) need to communicate with each other, and you've broken the whole program down into the smaller more manageable chunks that need to be written.


C program for Sum of n number using if else statements?

// Why do you need if/else statements? int main() { int numbers[] = {1, 2, 3, 4, 5, 6}; // and so on int i; int sum = 0; for(i = 0; i < sizeof (numbers)/sizeof(int); i++) sum += i; return sum; }


Why machine language is the only language which is directly executed by computers?

Machine language is the native language of the machine and requires no translation. Every other programming language must be translated into machine code in order to execute, which means you need to program the computer to perform that translation. A compiler translates the entire source code to produce a machine code executable, whereas an interpreter translates high-level statements as they are executed within the runtime environment.