Question

So I need help and I have little time. I was wondering if someone can help me out. its due in a few hours and I have been trying to catch up because of persoanl reasons. of these SDS for t date. Diss payablo be IO With Its Positions abso, Width ean ute Positions abs a te Wich1 se FIGURE S.39 Completed project 2 PROJECT 3 Art Store DIFFICULTY LEVE Advanced Over in Use the Bootstrap Css framework (included and available from the web) as well modify chapteros-projecto3.css and chapteros-projecto3.html so it looks similar to that shown in Figure S-40 Instructions 1. Examine chapteros-projecto3.html in the browser. You will need to add a fair bit of HITML in accordance with the Bootstrap documentation. since you can use the various Bootstrap classes, you will need to write very little CSS (the solution shown in Figure S40 has fewer than ten rules defined ) 2. The first step will be defining the basic structure. Figure S 40 shows that most of the content is contained within a main row ie., below the navbars and above the footer) that is composed of two columns (one 10 wide, the other 2 wide). The Bootstrap grid classes ( eg., co, -md -ho) are shown at the top of the figure. ne of the columns has a nested row within it that contains the painting inmage and the data on the painting .

https://www.dropbox.com/s/95w9wqkova5i8zy/New%20folder.zip?dl=0

those are the folder files, I am bit still behind on Bootstrap.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Here is your C++ program -

#include<iostream>
#include<bits/stdc++.h>
using namespace std;

struct Node
{
int value;
struct Node *next;
};

// function to create a new Node
struct Node *newNode(int value)
{
Node *temp = new Node;
temp->value = value;
temp->next = NULL;
return temp;
}

/* Function to remove duplicates from a
unsorted linked list */
void removeDuplicates(struct Node *start)
{
struct Node *ptr1, *ptr2, *dup;
ptr1 = start;

/* Pick elements one by one */
while (ptr1 != NULL && ptr1->next != NULL)
{
ptr2 = ptr1;

/* Compare the picked element with rest
of the elements */
while (ptr2->next != NULL)
{
/* If duplicate then delete it */
if (ptr1->value == ptr2->next->value)
{
/* sequence of steps is important here */
dup = ptr2->next;
ptr2->next = ptr2->next->next;
delete(dup);
}
else /* This is tricky */
ptr2 = ptr2->next;
}
ptr1 = ptr1->next;
}
}

//to print the nodes
void printList(struct Node *node)
{
while (node != NULL)
{
printf("%d ", node->value);
node = node->next;
}
}

//main function
int main()
{

/*linked list is 10->12->11->11->12->11->10*/
struct Node *start = newNode(10);
start->next = newNode(12);
start->next->next = newNode(11);
start->next->next->next = newNode(11);
start->next->next->next->next = newNode(12);
start->next->next->next->next->next =
newNode(11);
start->next->next->next->next->next->next =
newNode(10);

printf("\nStatus of the Linked list before removing duplicates \n");
printList(start);

removeDuplicates(start);

printf("\n\nStatus of the Linked list after removing duplicates \n");
printList(start);

return 0;
}

Add a comment
Know the answer?
Add Answer to:
So I need help and I have little time. I was wondering if someone can help...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Need help starting from question 9. I have tried multiple codes but the program says it is incorrect. Case Problem 1 Da...

    Need help starting from question 9. I have tried multiple codes but the program says it is incorrect. Case Problem 1 Data Files needed for this Case Problem: mi pricing_txt.html, mi_tables_txt.css, 2 CSS files, 3 PNG files, 1 TXT file, 1 TTF file, 1 WOFF file 0 Marlin Internet Luis Amador manages the website for Marlin Internet, an Internet service provider located in Crystal River, Florida. You have recently been hired to assist in the redesign of the company's website....

  • I'm need help in the Pacific Trails section of the assignment. I posted my chapter 2...

    I'm need help in the Pacific Trails section of the assignment. I posted my chapter 2 assignment on the bottom of the picture. I'm using Notepad++. This was the previous assignment: CHAPTER 2 ASSIGMENT paste the first content to index.html file and second to yurts.html. First: (index.html contents are below) <!DOCTYPE html> <head> <title>Pacific Trails Resorts</title> </head> <style> a{    padding-right:14px; /* padding anchor tage to right 15px for nav menu */ } </style> <body> <header> <h1>Pacific Trails Resort</h1>   ...

  • I have a hard time doing budgets using excel. can someone help me out with questions...

    I have a hard time doing budgets using excel. can someone help me out with questions on this? I did not do well when I submitted it so I am not sure what I did wrong. We were unable to transcribe this image2019SummerFinal Project due 310 - Excel katie, [email protected] - AutoSave a File Home A1 0 X Comments Insert Page Layout Formulas Data Review View Help Search Share x 4 Part 1 M N O 45 Advertising $900 per...

  • pls i need help pls help even if its A little bit We were unable to...

    pls i need help pls help even if its A little bit We were unable to transcribe this imageugu I TOT you You need to determine the questions you are going to ask and WRITE THEM OUT. The website below provides numerous questions from which to use to build your outline: o Legacy Project • http://www.legacyproject.org/guides/lifeintquestions.html o Once on this site, the questions will be in the middle of the page on the right side. It says click to download...

  • Please i need help with with this php files, the css does not have to look...

    Please i need help with with this php files, the css does not have to look like in the screen shot in the button. Create a file named paint.class.php and within it define a class named Paint, which has the following private properties: imgName title artist year gender paintID Define a static member variable named id, which will be used to set each instance’s paintID value and then be incremented, all inside the class constructor. Create a constructor that takes...

  • Can someone please help, third time I'm asking. I need a basic javascript with no push...

    Can someone please help, third time I'm asking. I need a basic javascript with no push or splice command. Please don't post a picture of the code,because my vision is poor and I won't be able to see it. Also, I need breakdown of what's in HTMLand what' s in javascript. All requirements are below. Thanks for your help. This is a 2 part assignment, but both parts can be completed in one program. Also, please follow ALL Required Programming...

  • NEED HELP with HTML with Javascript embedding for form validation project below. I have my code...

    NEED HELP with HTML with Javascript embedding for form validation project below. I have my code below but I'm stuck with validation. If anyone can fix it, I'd really appreciate. ****************************************************************************** CODE: <!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <title>Nice</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script> var textFromTextArea; function getWords(){ var text =...

  • I need HELP to get the code to do these function: If I keep clicking "Generate"...

    I need HELP to get the code to do these function: If I keep clicking "Generate" multiple times, the list keeps on getting bigger. The number of rows should always be equal to the number of columns. Also make the code to show both table at the same time? Here is the code I got some far : Code: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Testing</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous"> </head> <style> td...

  • for each problem I have this setup so far. I need help on each part and im not too sure if I am on the right track for each question on the picture. this chapter is on project management for statisti...

    for each problem I have this setup so far. I need help on each part and im not too sure if I am on the right track for each question on the picture. this chapter is on project management for statistics 1. A project is shown by the following network. The durations of activities (in weeks) are indicated on the arrows. a. Identify all of the paths, compute the length of each, identify the critical path and the b. Determine...

  • I NEED HELP WITH DEBUGGING A C PROGRAM! PLEASE HEAR ME OUT AND READ THIS. I...

    I NEED HELP WITH DEBUGGING A C PROGRAM! PLEASE HEAR ME OUT AND READ THIS. I just have to explain a lot so you understand how the program should work. In C programming, write a simple program to take a text file as input and encrypt/decrypt it by reading the text bit by bit, and swap the bits if it is specified by the first line of the text file to do so (will explain below, and please let me...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
Active Questions
ADVERTISEMENT