Here you will learn how to perform Arithmetic operations on Decimal point. This is same as Part 1 Just we need to chance data type. ie. we have to use decimal instead of integer.
Coding is below -
Note - Coding and Explanation for other operations are as same as previous section Part 1. Just need to use double data type instead of int data type.
Coding is below -
Note - Coding and Explanation for other operations are as same as previous section Part 1. Just need to use double data type instead of int data type.