Factorial - loop Part 4

এই ভিডিওতে আমি দেখাচ্ছি কিভাবে C প্রোগ্রামিং-এ For Loop ব্যবহার করে একটি সংখ্যার factorial (N!) বের করা যায়। আপনি শিখবেন: ✅ Factorial কি এবং এটি কিভাবে কাজ করে ✅ ধাপে ধাপে C কোডের ব্যাখ্যা ✅ For Loop ব্যবহার করে 1 থেকে N পর্যন্ত সংখ্যা গুণ করা

Variables, Constants & printf Format Specifiers

ভেরিয়েবল, কনস্ট্যান্ট এবং printf ফরম্যাট স্পেসিফায়ার নিয়ে। এই ভিডিওটি বিশেষভাবে বাংলা ভাষাভাষী শিক্ষার্থীদের জন্য তৈরি। What you’ll learn in this video: কিভাবে ভেরিয়েবল ডিক্লেয়ার এবং ইনিশিয়ালাইজ করা যায় কোন নামগুলো ভেরিয়েবলের জন্য গ্রহণযোগ্য int, float, double, long double ডেটা টাইপের পার্থক্য printf ফরম্যাট স্পেসিফায়ার ব্যবহার করে আউটপুট প্রদর্শন কনস্ট্যান্ট এবং const কীভাবে ব্যবহার করবেন ভেরিয়েবলে মান পুনরায় বরাদ্দ (reassign) করার নিয়ম

Student Mark Record Project in C

Build a Student Mark Record Project in C where you can create, show, and remove student records. Learn how to manage data using structs, handle file input/output, and format outputs neatly. Why scanf(" %[^\n]", s.name);? %[^\n] → reads all characters until a newline, including spaces (so you can type full names like “Alice Bob”). ...

Prime number - loop part 5,6,7

এই ভিডিওতে আমি দেখাচ্ছি কিভাবে C প্রোগ্রামিং-এ For Loop ব্যবহার করে একটি সংখ্যা প্রাইম কিনা তা চেক করা যায়। আপনি শিখবেন: ✅ প্রাইম সংখ্যা কি ✅ ধাপে ধাপে সংখ্যা চেক করার লজিক ✅ For Loop দিয়ে চেক করার সহজ পদ্ধতি ✅ সাধারণ ভুল এড়ানোর টিপস ...

scanf দিয়ে Input নেওয়া

scanf ব্যবহার করে কিভাবে বিভিন্ন ধরনের input নিতে হয় – যেমন integer, float, character, আর string (char array)। পুরো ভিডিওটি বাংলায় ব্যাখ্যা করা হয়েছে, যাতে নতুনরা সহজে বুঝতে পারে। What you’ll learn in this video: Understanding the problem and analyzing the question Taking integer input in C Taking float input in C Taking char input in C Reading strings / char arrays Combining multiple inputs in one program Handling special cases in printing Practice exercises to reinforce learning ভাষায় input নেওয়ার basic থেকে শুরু করে multiple input handling পর্যন্ত clear idea পাবেন।

BMI calculator

We convert feet & inches to meters, calculate BMI, and show BMI category/status step by step — perfect for beginners learning C programming. Final code #include <stdio.h> /// convert feet and inch to meter float convertFeetInchToMeter(int feet, int inch) { return (feet * .3048) + (inch * .0254); } /// calculate BMI from [weight] in kg and [height] in meter float bmi(float weight, float height) { return weight / (height * height); } /// show message according to [bmi] which is a float void showBMIMessage(float bmi) { if (bmi < 18.5) { printf("status: Underweight\n"); } else if (bmi < 24.9) { printf("status: Normal\n"); } else if (bmi < 29.9) { printf("status: Overweight\n"); } else { printf("status: Obesity\n"); } } int main() { float inch, feet, weight; printf("\nEnter your weight(kg): "); if (scanf("%f", &weight) != 1) { printf("invalid user input, please provide number\n"); return 0; } printf("Enter your height(feet inch): "); if (scanf("%f %f", &feet, &inch) != 1) { printf("invalid user input, please provide number\n"); return 0; } float height = convertFeetInchToMeter(feet, inch); float myBMI = bmi(weight, height); showBMIMessage(myBMI); }

Do While - loop part 8

ভিডিওতে আপনি শিখবেন: ✅ Do-While Loop এর syntax এবং কাজের ধারা ✅ Step-by-step উদাহরণ সহ কোড ব্যাখ্যা ✅ For Loop এবং While Loop এর সাথে পার্থক্য ✅ সাধারণ ভুল এড়ানোর টিপস

Operators

এই ছোট ভিডিওতে আমরা C প্রোগ্রামিং এর Operators এর একটি সংক্ষিপ্ত পরিচিতি দেখব। Arithmetic Operators এবং Operator Precedence এই ভিডিওতে আমরা C Arithmetic Operators এবং Operator Precedence বাংলায় সহজভাবে ব্যাখ্যা করেছি। CodeBlocks দিয়ে সরাসরি উদাহরণ কোড দেখানো হয়েছে যাতে সহজে বুঝা যায়। ...

Temperature Converter

How to build a Temperature Converter in C that can convert between Celsius, Fahrenheit, and Kelvin. This beginner-friendly Bangla tutorial explains the logic step by step and includes full coding examples. Final code #include <stdio.h> // show welcome message to choose conversion option void welcome(){ printf("Select conversion:\n"); printf("1. Celsius to Fahrenheit\n"); printf("2. Fahrenheit to Celsius\n"); printf("3. Celsius to Kelvin\n"); printf("4. Kelvin to Celsius\n"); } int main(){ int selectedOption; float temp; welcome(); printf("Enter your choice:"); scanf("%d", &selectedOption); printf("Enter temperature:"); scanf("%f", &temp); switch (selectedOption) { case 1: printf("Farenheight: %.2f\n", (temp * 9/5) + 32); break; case 2: printf("Celsius: %.2f\n", (temp -32) * 5/9); break; case 3: printf("Kelvin: %.2f\n", temp+ 273.15); break; case 4: if(temp < 0){ printf("Kelvin can not be smaller than 0\n"); }else { printf("Kelvin: %.2f\n", temp - 273.15); } break; default: printf("Invalid choice\n"); } }

Memor leaks

Memory leak happens when create dynamic Memory but doesn’t release :) Means when we don’t use free . int *ptr = malloc(N); // and we don't use `free(ftr)` function Memory Leak A common mistake of Memory leak happens when we create dynamic Memory inside function and forget to free it. void func(){ int *ptr; ptr = malloc(sizeof(*ptr)); /// ..... rest code /// we should free ptr end of its uses. } Reallocation Memory leak We can often forget to free old pointer and set null which is better practice. ...