Electronics and Communication Engineering - Microprocessors - Discussion

Discussion Forum : Microprocessors - Section 2 (Q.No. 5)
5.
If PRIN = 200.0 and BINT = 0.0525 the result of expression INCOME = PRIN * (1 + BINT) will be
210
210.5
210.5000
210.50
Answer: Option
Explanation:

The result should not contain decimal.

Discussion:
7 comments Page 1 of 1.

Shivani said:   6 years ago
I cannot understand, please explain in detail.

V.Aruna devi said:   7 years ago
I am not understanding this. Please explain the answer clearly.

Parshi said:   7 years ago
The Default type is integer.

Keerthan said:   8 years ago
May be "income" is assigned as an integer.

Kali said:   8 years ago
Please explain. Why it should not contain a decimal no?

Ghanchi imran said:   8 years ago
I agree with your answer @Ram.

Ram said:   9 years ago
Why?

I think it will contain decimal because they are not given as integer type.

Post your comments here:

Your comments will be displayed after verification.