answersLogoWhite

0


Best Answer

a = b = c

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write a arithmetic operations in c using compound assignment statement?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How many arithmetic statement in c?

Only one: expression. Yes, in C expression is one of the statements. Some other statements are: if, do, goto, while, for, switch, break, continue, return, NULL-statement, compound-statement.


What are the five compound arithmetic assignment operators?

1) count_emp = count_emp +1; 2) time = time -1; 3) time_time = total_time + time; 4) product = product * item; 5) n = n * (x + 1);


What is a compound statement in programming?

A compound statement is a code block. We typically use compound statements as the body ofanother statement, such as a while statement:while (i >= 0){a[i] = x;++x;--i;}Note that all compound statements are surrounded by braces {}.


What is java compound statement?

A compound statement is a group of statements enclosed in braces, i.e curly brackets. A compound statement is a group of statements enclosed in braces, i.e curly brackets.


What is the truth or falsity of a statement is called its?

compound statement


What is the difference between blocks and compound statements?

A compound statement is a single statement which combines the work of multiple individual statements. A block is a collection of individual statements. Block: ++i; x = i; Compound statement: x = ++i;


Is a simple statement is sometimes called a compound statement?

YEs


What is a compound statement?

A compound statement consists of none or more C++ statements enclosed within a set of braces: {}. It is an essential concept in C++ and is central to the idea of nesting constructs. For example, the if statement has the form:-if ( expression ) statementwhich would severely limit its use were it not for the fact that a compound statement is itself a statement. Consequently any number of statements can be enclosed within a set of braces, including other if and compound ones, and the resulting compound statement used with the if statement. For example:-


What is compound statement in c plus plus program?

A compound statement is a code block. We typically use compound statements as the body ofanother statement, such as a while statement:while (i >= 0){a[i] = x;++x;--i;}Note that all compound statements are surrounded by braces {}.


What is commercial mathematics?

It is a branch of mathematics related to profit and loss, simple and compound interest, discount percent, etc i.e. related to business operations mainly used in commerce and everyday life. Topics like elementary arithmetic (fractions, percentages, decimals), elementary algebra, statistics and probability, mortgages, simple and compound interest are included in it.


Is C function a compound statement?

yes


The truth or falsity of a statement is called?

compound