চারটি সংখ্যার যোগফল?

 যেকোনো চারটি সংখ্যার যোগফল নির্ণয়ের ফোরটান প্রোগ্রাম কেমন হবে?


গুগল করে পেলাম না।

কেউ করে দিতে পারলে উপকৃত হবো।

ধন্যবাদ।
2973 views

1 Answers


implicit none
program sum
real : :x, a, b, c, d
print *, 'enter 4 numbers'
read *,  a
read *, b
read *, c
read *, d
x=a+b+c+d
print  *, 'total sum of the number is',  x
end program sum

(উল্লেখ্য আমি এটি রান করিয়ে টেস্ট করিনি)
2973 views Answered

Related Questions

Next steps