Category: Programming


https://www.postnetwork.co/wp-content/uploads/API_KEY_KeywordEveryWhere.png

Before, to know about  “How  API Key Works”  you should know about API.   API stands for Application Programming Interface and generally, compilers or interpreters provide inbuilt modules to application developers.  Furthermore, in a client-server computing environment.  A compiler or an interpreter Read more…


python_math

About Python Python is a very simple style syntax language. It uses a new line for a new statement. A line space for the scope of the functions and loops. Why Should You Learn Python?   Python is very popular Read more…


Switch Case statement is use to build   decision making  programs. Like if-else, switch case is also a decision-making structure. Furthermore, it can help to make decision-making programs. For example, if you want to make a grading system program. In which Read more…


If Else Statement if else statement in C/C++ is used to make decisions. For instance, see an example #include<stdio.h> #include<conio.h> void main() { int  i, n=10; clrscr(); for (i=1; i<=n ; i++){ if ( i % 2 == 0) { Read more…


 This program contains some errors you need to remove. ___________________________________________________ #include<iostream> using namespace std; class BinarySearch { int i; int n; public: void b_search(int *, int, int); }; void BinarySearch :: b_search(int a[],int n, int dataitem) { int start, end, Read more…


In this post,  bubble sort is written in C++ using class. #include<iostream> using namespace std; class BubbleSort { int a[20]; public: int *bubblesort(int *, int); }; int* BubbleSort :: bubblesort( int a[], int n) { int i, j, t; for( Read more…


Structures in C Programming Structures are salient features of C programming language and it is a user defined data type that packages integer, float and character data types. Furthermore, the addresses of data members in a structure are contiguous as Read more…


Templates are used to support generic programming  in C++, what happens when you need a function of a class that takes its argument  as float as well as integer. You have to declare and define two functions, the first one  Read more…


Polymorphism Feature in C++ Polymorphism means single name but multiple formats and this is one of the crucial features of C++. Furthermore, when there are multiple formats of a single function then choosing an appropriate version of the function is Read more…


Inheritance in C++Inheritance is a very important feature of object-oriented programming approach. Further, which provides the mechanism of reusability of classes. Moreover, it is very important to reuse classes which are tested. And this idea also saves resources and increases Read more…


Sum of Natural Numbers in C++ Program Description- In this program, a class Sum is declared. Which has two public variables n and i and a public function sum_of_n() which takes an integer argument( user should provide a natural number) Read more…


Factorial in CPP Using Class Program Description- Program that calculates factorial in cpp of a natural number. Further, a class Fact is declared in which there are two public integer  variables  which are n and i and a public function Read more…


Add Two Numbers in CPP #include<iostream> using namespace std; int main() { int x, y, sum; cout<<” Enter Two Numbers for Addition”<<endl; cin>>x>>y; sum = x + y; cout<< “Sum of Two Numbers is”<<“n”<<sum; return 0; } ___________________________ For output Read more…


Hello World Program In CPP #include<iostream> using namespace std; int main() { cout <<” This is Hello World Program”; return 0; } __________________________________ For output see the video    

Subscribe to Our Newsletter