Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

COMPUTER FUNDAMENTALS

Q=3:

example OF PAGE # 154:


COMPUTER FUNDAMENTALS

Q=1:

indentation:
In computer programming languages, indentation is used
to format program source code to improve readability.
Indentation is generally only of use to
programmers; compilers and interpreters rarely care how
much whitespace is present in between programming
statements.

for example:
The actual multiplication of cols times rows takes place inside
the printf() function:

printf("%4d",cols *rows);

we could have used another variable , say product(which would


need to be defined) , and written the inner loop:
{
product = rows *cols;
printf("%4d",product);
}
COMPUTER FUNDAMENTALS

Q=2:

can't understand it sir……

You might also like