$float_number=7.8;
that all!plus if u want to use some operation using floating number,just as same we learn in previous post "Operation plus(+)..." .it simple ryte?so,after learning this operation in PHP script,i would like to remind again that ,it would be more better if we do some exercise right,so,here is the 2nd exercise,hope u enjoy it!good luck!
EXERCISE 2
1.Write a script for addition operation by using this figures: 18, 34, 769. Use a print statement as your output.
2.Write a script for addition operation by using this figures: 35, 65. Then subtract the answer with 170. Use a print statement as your output.
3.Use the variables to calculate this figures below:
(220 * 17) / 20
Use a print statement as your output.N/NOTE: please comment me if u got some problem...tq
No comments:
Post a Comment