Ads block

Banner 728x90px
Showing posts with label CPP. Show all posts
Showing posts with label CPP. Show all posts

How to write bangla text in c programming with codeblocks


How to write bangla text in c programming with codeblocks
Coding: সি প্রোগ্রামিং-এ বাংলা লিখুন ।  #include <wchar.h> #include <locale.h> #include <stdio.h>   int main ( ) { setlocale ( LC_…
Read more »

write a c program to calculate the factors of a number


C program to calculate the factors of a number by running the loop up to n. #include <stdio.h>   int main ( ) { int number ;   // Input the…
Read more »

Write a program to find the largest prime factor of a number in C/CPP


Write a program to find the largest prime factor of a number in C/CPP. Algorithm: Initialize a variable largestFactor to 1, which will store the largest prime …
Read more »

Write a C++ program using the concept of OOP to count frequency of each digits of a number


Write a C++ program using the concept of OOP to count the frequency of each digits of a number. Algorithm: Create a class DigitCounter with private members num…
Read more »

Write a C++ program using the concept of OOP to find the occurrence of a digit in a number


Write a C++ program using the concept of OOP to find the occurrence of a digit in a number. Algorithm: Create a class DigitFinder with private members number, …
Read more »

Write a C++ program using the concept of OOP to find the sum of digits of a number until the sum is reduced to a single digit


Write a C++ program using the concept of OOP to find the sum of digits of a number until the sum is reduced to a single digit. Algorithm: Define a class Number…
Read more »

Write a C++ program using the concept of OOP to check whether a number is strong or not


Write a C++ program using the concept of OOP to check whether a number is strong or not. Algorithm: Define a class Number with a private member variable num an…
Read more »

Write a C++ program using the concept of OOP to check a number is palindrome or not


Write a C++ program using the concept of OOP to check whether a number is a palindrome or not. Algorithm: Define a class Number with a private member variable …
Read more »

Write a C++ program using the concept of OOP to find the reverse of an integer number


Write a C++ program using the concept of OOP to find the reverse of an integer number. Algorithm: Define a class Number with a private member variable num and …
Read more »