আমরা PHP ব্যবহার করে যেকোন ধরণের সংখ্যা গণনা করতে পারি যেমন integer , float। (We can calculate any type of number using PHP like integer,float.)

Input :-


  • আমরা মান a, b, c এবং d ভেরিয়েবলের মধ্যে সঞ্চয় করি। (
    We store the values ​​between the variables a, b, c and d.)
  • তারপরে দুটি সংখ্যা যুক্ত করতে দুটি পদ্ধতি ব্যবহার করে। (Then using two method to addition two numbers.)
  • 1. আমরা x এর ভিতরে a + b এর মান সংরক্ষণ করি, তারপরে (echo) x প্রিন্ট করব। (We store the value of a+b inside x, then print(echo) x.)
  • 2. আমরা echo  ভিতরে সরাসরি a+ b লিখি। উভয় ক্ষেত্রেই ফলাফল একই  হবে। ( We directly write a+b inside echo. In both cases the result will be same.)


echo ভিতরে আমরা অনেক শব্দ লিখি (যেমন [" "] , [.], [,] , [;]) কেন {Why do we write many words inside the echo (such as [""], [.], [,], [;]) }?


  • [""] একটি স্ট্রিং (শব্দ, বাক্য) লিখতে ব্যবহার করা। যেমন - "The Value Of x is ="। ([" "] Using to write a string (word, sentence) in side echo. Such as - "The Value Of x is =" .)
  • [ . ] দুটি বা ততোধিক স্ট্রিং বা মানকে সংলগ্ন করতে ব্যবহার করছে। ([ . ] is useing to to concatenation two or more string or values.)
  • [< br >] এটি একটি html  ট্যাগ, একটি নতুন লাইন তৈরি করতে ব্যবহার করুন। ([
    ] It is a html tag, use to create a new line.)
  • [ ; ] একটি পিএইচপি লাইন এটি দ্বারা শেষ হয়। ([ ; ] a php line ends by this. )

Output :-

যদি আপনি এটি বুঝতে পারেন তবে কিছু সংখ্যাকে বিয়োগ, গুণ, বিভাগ, মডুলাস, এক্সপোশিয়েশন করার চেষ্টা করুন। (If you understand this then try to subtraction , multipication , division , modulus ,expoentiation some numbers.)

0 Comments