Posts

Showing posts from January, 2021

India map in C Language

 India map in C Language code: #include <stdio.h> int main() {     int a,b,c;     int count = 1;     for (b=c=10;a="- FIGURE?, UMKC,XYZHello Folks,\     TFy!QJu ROo TNn(ROo)SLq SLq ULo+\     UHs UJq TNn*RPn/QPbEWS_JSWQAIJO^\     NBELPeHBFHT}TnALVlBLOFAkHFOuFETp\     HCStHAUFAgcEAelclcn^r^r\\tZvYxXy\     T|S~Pn SPm SOn TNn ULo0ULo#ULo-W\     Hq!WFs XDt!" [b+++21]; )     for(; a-- > 64 ; )     putchar ( ++c=='Z' ? c = c/ 9:33^b&1);     return 0; } Subscribe the code.circle

Addition And Multiplication of polynomials using link list

Code : #include<stdio.h> #include<conio.h> #include<stdlib.h> struct node {     int coef;     int exp;     struct node *link; }; void insert_term(struct node **,int,int); void traverse(struct node *); void poly_add(struct node **,struct node **,struct node **); void poly_pdt(struct node **,struct node **,struct node **); void main() {     struct node *start_p=NULL,*start_q=NULL,*start_r=NULL;     int i,n,c,e;     printf("Enter first polynomial!\n");     printf("Enter no of terms:");     scanf("%d",&n);     for(i=0; i<n; i++)     {         printf("Enter coefficient: ");         scanf("%d",&c);         printf("Enter exponent: ");         scanf("%d",&e);         insert_term(&start_p,c,e);     }     printf("Enter second polynomial!\n"); ...

Vehicle Parking System in CPP

Code:  #include<iostream> #include<process.h> #include<stdlib.h> using namespace std; class Parking                       //CPP Features used classes and objects { protected: int amount; int Count; int two,three,four; public: Parking()                       //CPP Features used constructor { amount=0; Count=0; two=0; three=0; four=0; } void Delet() { amount=0; Count=0; two=0; three=0; four=0; cout<<"**************************************************"<<endl; cout<<"All Record deleted......."<<endl; cout<<"**************************************************"<<endl; } }; class TwoWheel:virtual public Parking           //CPP Features used hirarchicale inheritance used in this project { public:     void t_wheel() ...