Skip to main content

Posts

Showing posts from May, 2017

C# basic code using functions | MODERN PROGRAMMING LANGUAGE

TASK:                     MAKE A PROGRAM USING ENUM METHOD:  PROGRAM:   MAKE A PROGRAM THAT DISPLAYS A BAG AND INSIDE A BAG TOTAL NUMBER OF BOOKS AND PEN. CODE: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace bag {     public class bagd     {         public double price;         public string color;         private List < Object > l;         public bagd( double p, string c)         {             price = p;             color = c;       ...

Algorithm Analysis & Design code for single linked-list program in c++

Single Linked -listCODES FOR THE FOLLOWING TASKS ARE AS UNDER: Tasks:  1.        Insertion of value at any center point. 2.        Insertion of value before and after a node. 3.        Print the  Total no. of nodes. 4.        Values swapping. 5.        Printing the  values. 6.        Deleting the values.