প্রিয় বন্ধুরা আমাদের Fortran
সম্পর্কে জানতে হলে আমাদের কিছু basic
বা Fundamental topic সম্পর্কে জানতে হবে।যেগুলো নিচে উল্লেখ করা হলো।
1. what
is Fortran?
The name Fortran is derived from
word Formula Translation . Fortran was the first ever high level programming
language and was generally capitalized as Fortran. It was developed at IBM by
John Back and his team over three year period 1954-1957 and was first
implemented on IBM-704.
The latest additions are
a. Fortran-77
b. Fortran-90
বাংলা অনুবাদ: Fortran শব্দটি এসেছে সাধারণত Formula Translation (সুত্রের অনুবাদ) থেকে। Fortran হচ্ছে সর্বপ্রথম উচ্চ মানের Programming
ভাষা। এটা প্রায় তিন বছর ধরে (1954-1957) তৌরী করা হয়েছিল IBM এ John Back এবং তার সহযোগীরা মিলে এবং প্রথম প্রয়োগ করা হয় IBM-704
এ।
Fortran এর যে নতুন addition রয়েছে তা হলো
a. Fortran-77
b. Fortran-90
2. The
Read statement:
It is also called input statement
. This statement is used to enter numerical or a string of digits into the
computer during the program execution. In Fortran read statement is written as
Read(*,*) x,y,z,………..
Or Read*, x,y,z,………..
(এই statement কে input statement ও বলা হয় । এটি সধারণত ব্যবহার করা হয় একটি সংখিক মানকে অথবা এক গুচ্ছ
সংখ্যাকে computer এ প্রদান করার জন্য যখন program টি সম্পাদিত হয়।)
3. The
write statement:
It is also called output
statement. This statement is used to display or print out the computational
result .
In Fortran write statement
is written as
Write(*,*)
Result1,Result2,Result3,……..
Or Write*,
Result1,Result2,Result3,……..
(write statement কে output statement ও বলা হয়। এই statement টি সাধারণত ব্যাবহার করা হয় কোন গননার ফলাফল দেখানো জন্য )
আমরা write statement দিয়ে কোন লেখাকেও output হিসাবে দেখাতে পারি , যেমন
Write(*,*) ‘enter the
value of x’ এই লইনটির output
হবে
Enter
the value of x (in black screen)
Fortran এ বিভিন্ন যে সব mathematical type operator আছে সেগুলো নিচে দেওয়া হলো
ক. Addition (+)
খ. Subtraction (-)
গ. Multiplication (*)
ঘ. Division (/)
ঙ. Square or power
(**)
বন্ধুরা এখানে আরো অনেক statement আছে যেগুলো আমরা ক্রমান্নয়ে শিখব.
ইনশাআল্লাহ..........................................................................
No comments:
Post a Comment