ডেলিভারির পর পার্সেল গুনুন
যা এসেছে তা যোগ করুন, তারপর যা বেরিয়ে গেছে তা বিয়োগ করুন।
একটি সহজ উদাহরণ
শুরুতে2 + 3 − 1
ফলাফল4
using System;
Console.WriteLine(((2 + 3) - 1));
4
বিজ্ঞাপন
দৈনন্দিন জীবনের উদাহরণ
দুটি বাক্সে ৬টি এবং ৪টি পার্সেল আছে। তিনটি পার্সেল বাইরে যায়। কতগুলি অবশিষ্ট আছে?
শুরুতে6 + 4 − 3
ফলাফল7
using System;
int first = 6;
int second = 4;
int sent = 3;
Console.WriteLine(((first + second) - sent));
7
উদাহরণটি চালান
dotnet new console --output Lesson
cp Program.cs Lesson/Program.cs
dotnet run --project Lesson