SORTING | POINTER | ARRAY | DATA STRUCTURE | DS ALGO | ALGORITHM

 Code to implement sorting of array using pointer in C Programming Language. #include  <stdio.h>int a[10],i,j,temp,*p;int main(void){   …

MIN MAX | SEARCH | ANALYSIS AND DESIGN OF ALGORITHMS | ADA

Code to implement linear search for maximum and minimum element in given array.Time complexity O(n) #include…

MIN MAX USING DIVIDE AND CONQUER | ANALYSIS AND DESIGN OF ALGORITHM | ADA

Code for implementing search of minimum and maximum element in array using Divide and Conquer. #include<stdio.h>…

CLASSES | PYTHON | BASIC CONCEPTS

 Sample Python Code for implementing concept of Classes class test:    l=3    b=4    def func(self,x,y):        a=x*y        print(a)       …

C++ | AREA RECTANGLE USING CLASS | PRINCIPLES OF PROGRAMMING LANGUAGES | PPL

#include<iostream>#include<math.h>using namespace std;class Area{private:    float b,h;    float area;public:    void setDim()    {       cout<<“Enter breadth and height of…

BINARY TO OCTAL | DIGITAL ELECTRONICS

 Code for converting binary ( radix or base 2 ) numbers to octal (radix or base…

DECIMAL WITH DECIMAL POINT TO ANY RADIX | DIGITAL ELECTRONICS

#include <stdio.h> #include<stdio.h>#define MAX_SIZE 100#include <string.h> int main(){   char str[MAX_SIZE];    int r,i=0,p,rx;    float w,t,temp;     printf(“Enter…

BINARY TO RADIX 4 | DIGITAL ELECTRONICS

#include <stdio.h> int main(){   int a[100];    int n=0,b,set,sum=0,two=1,ten=1;        printf(“Enter binary number”);    scanf(“%d”,&b);        while(b !=…