the decimal point
Add the numbers into one variable as you read them in. But if you prefer, you can read the numbers into an array and then use a loop to add the numbers together.
read num1 read num2 sum = num1 num2 print highest value
To save writing out very large numbers or very small numbers that have lots and lots of noughts.
6,008,800 is read as 6 million eight thousand eight hundred.
I think you are referring to scientific notation in which you read numbers multiplied by ten and to the power of whatever. Example: You can write 1,000,000.0, or you can write 1.0 x 10 to the sixth power or for numbers with a value less than 1 Example: You can write 0.000001, or you can write 1.0 x 10 to the negative sixth power Either way you write it the number is the same.
It separates the numbers
Add the numbers into one variable as you read them in. But if you prefer, you can read the numbers into an array and then use a loop to add the numbers together.
Prehistory
$1,015,000 is the usual form in the US. Other parts of the world use a dot or period [stop] to separate the groups of three digits instead of a comma. The demarcations make the numbers much easier to read.
Read read read read. And then write write write write.
false
read num1 read num2 sum = num1 num2 print highest value
To write a C++ program to display the student details using class and array of object.
To save writing out very large numbers or very small numbers that have lots and lots of noughts.
When writing a decimal out in words, the numbers before the decimal are written as if they are whole numbers, and the numbers after the decimal are read as digits. Therefore, for example, 150.35 is read one hundred and fifty point three five.
Today (considering you'll read this answer today).
$vi sum.sh echo "enter the 1st no." read num1 echo "enter the 2nd no." read num2 sum= 'expr $num1 + $num2' echo "sum of the numbers is $sum"