Question:- write a c++ program that sorts an unsorted list of ten integer do not use the vector library for this assignment the program must have one function using a bubble sort or a selection sort algorithm to sort the ten number the main function creats an array of ten integer that are not sorted. Function is called to sort the numbers in ascending order. Finally the main function display the sorted list.
Q: E-commerce and Mobile Commerce (m-commerce), such as mobile banking and mobile advertising, is beco...
A: The e-commerce can be defined as the platforms that support and allow purchase and selling of the ...
Q: Fill in the blanks of the flowchart for checking whether a user input number is a narcissistic numbe...
A: A narcissistic number is the number where the sum of the digits raised to the number of digits is eq...
Q: Write a C++ program to read input a string input from the user and print that string in the output i...
A: Write a C++ program to read input a string input from the user and print that string in the output i...
Q: ل ولقم a Numbur to Elow thort Stort Declare em, Rem, Rev Read num whil (n!=0) num-neem/10 yes Rem-A/...
A: We have to write algorithm to find the reverse of the number. This is as follows:
Q: What are the many kinds of operating system programmes? To demonstrate your idea, provide three to f...
A: Introduction: The software that comes with the operating system is known as system software. System ...
Q: Why is the CIA Triad in the shape of a triangle?
A: Why is the CIA Triad in the shape of a triangle?
Q: If you have access to the system administrator of a large system, find out the steps that are requir...
A: The answer is given below.
Q: What are the advantages of a multi-processor system?
A: Introduction: A multiprocessor system is one that has many processors. A multiprocessor system is a ...
Q: Create an algorithm and a flowchart that will output all the prime numbers between 2 numbers. Use th...
A: Algorithm for Prime Number between two number i.e. Prime number are those number which has only two...
Q: 1. Submit the individual codings for the following with Output a. Error detection using Checksum a...
A: . Submit the individual codings for the following with Output a. Error detection using Checksum and ...
Q: The process provides interaction between users and designers, between users and evolving tools, and...
A: Designers should ask users: Is the product satisfactory, or does it require redesign or rework?Was u...
Q: > ts.plot(retr_sadj) (it is works) > ts.plot(retr_sadj, retr) (iy gives a error) Error in .cbind.t...
A: Lets see the solution in the next steps
Q: Is filtering internet access considered to be an example of an System Specific Security Policy? If n...
A: Security policies can be defined as the written outline document in an organization that helps to pr...
Q: To protect the sound quality of phone calls over a DSL network, what device must be installed?
A: Please find the detailed answer in the following steps.
Q: The Internet network layer is responsible for _________.
A: Answer: The correct answer is an in-order datagram delivery. The Internet network layer is responsib...
Q: Trace through what values are stored in each variable as the code executes and what values will be d...
A: inputs : country = Nassau credits = 10 ========= Program: ========= country = input('Enter the ...
Q: Title of the Project: Automatic Greenhouse farming System using Arduino. 1.write the advantage and d...
A: write the advantage and disadvantage of this project .. and how can we improve our project compared ...
Q: LAB, CONT. Choose one of the following two python projects to complete color_mixer.py or coin_counte...
A: The python program for the given problem is given below with the self-explanatory embedded comments:...
Q: To find the parametric polynomial equation df a curve using the the following infomation: f(t1) f(12...
A: We need to find the polynomial equation of the curve using the given information. The answer is NO...
Q: What exactly is a transmitting device?
A: Actually, Transmitting device is a device that is used in telecommunication to send the data to the ...
Q: Consider the following schedule of transactions W1(A) W2(A) W1(A) W2(A) W1(A) Which of the following...
A: The given transactions W_1(A)W_2(A)W_1(A)W_2(A)W_1(A)W1(A)W2(A)W1(A)W2(A)W1(A) The following ab...
Q: How many bits would be needed to store a digital video on 512 pixels horizontal and 250 pixels verti...
A: Below is the answer to above question. I hope this will meet your requirements.
Q: e following must also be true? a. If the temperature of compound X is at
A: The program code provided below is a simple python program consisting use of input() function to inp...
Q: Note: sales records is in sales table, purchase records are in purchases table, inventory records ar...
A: 1) since u have given only table names , i will assume the tables details as follows * conside...
Q: When is it not a good idea to establish an index for a table?
A: Please refer to the following step for the complete solution of the problem above.
Q: A processor has a clock of 1 GHz. The CPI of the processor were calculated to be 6 cycles per instru...
A: Given A processor has a clock of 1 GHz. The CPI of the processor were calculated to be 6 cycles per ...
Q: nd explain the guidelines in creating effective spre
A: Lets see the solution.
Q: ntify and explain briefly the different business problems and decisions that can be addressed with l...
A: Lets see the solution.
Q: What's the difference between Geo DNS and Latency Based Routing?
A: Latency-based Routing to have the fastest response. Geolocation maps the IP addresses to geographic ...
Q: What is the definition of Function in C? In C, how many different types of Functions are there? Make...
A: The C language is a very popular language used in programming. It is a high-level language and is ea...
Q: write a script that will format 147.3411323211234 into a short format.
A: Style Result Example short Short, fixed-decimal format with 4 digits after the decimal poi...
Q: Consider the main memory with capacity of 3 frames assume that the page of process are referred in t...
A: Here in this question we have 3 frame and pages of the process are referred.and there we are using t...
Q: Hanry is a student in Bina Nusantara University and that makes him to be called binusian. In Binus, ...
A: Actually, given information Hanry is a student in Bina Nusantara University and that makes him to b...
Q: What security countermeasures could you use to keep an eye on your SQL databases in production for i...
A: SQL Injection Attack: SQL injection is nothing but a security threat that occurs in the web vulnerab...
Q: Please give brief description for software engineering question. a. How do components transfer con...
A: NOTE :- Below i explain the answer in my own words by which you understand it well so some words y...
Q: Q: Draw the tree for the following sequence of keys using postorder traversing. D,H,E,F,B,I,J,G,C,A ...
A: for unique binary tree, we need : (1) inorder + postorder OR (2) inorder + preorder NOTE...
Q: 21. Write a Python program to find the sum of the digits at unit places of all the elements in the g...
A: Write a Python program to find the sum of the digits at unit places of all the elements in the given...
Q: Explain artificial intelligence explain in details machine learning and deep learing
A: Given To know about the 1) artificial intelligence 2) machine learning 3) deep learing
Q: You're called in to consult for a company that's issuing about 100 new wireless mobile devices to se...
A: Given values: Wireless mobile devices to be issued are 100. Total subnets are 2 with 150 unused IP i...
Q: Merge two stacks into one stack. Split one stack into two stacks based on a condition.
A: Java is a high level programming language. And also object oriented . It. Is a platform for develop...
Q: perform hexadecimal addition and subtraction on pair 07c7 and 0971 complete soln
A: Addition of 2 hexadecimal number is simple, just add simply in base 16 and if any digit sum is great...
Q: Break down 42 into a sum of non consecutive Fibonacci numbers
A: Since it hasn't been specified whether you want this to be solved mathematically, i assume it is a c...
Q: What is the best way to utilise a sequence in a database?
A: INTRODUCTION: As the name suggests, a sequence consists of a set of sequential integers. Because ma...
Q: • Minimize the function f(x) = x using hill climbing and gradient descent. Stop when the difference ...
A: In questions with many questions, we must answer 1.
Q: What are the goals and objectives of a privacy policy? What are the most important components of a s...
A: Privacy Policy Privacy policy describes how to collect, use, store, process and share our informati...
Q: What are all the looping and branching statement with break, continue and else clause in Python? Inc...
A: here in this question we are asked about all the looping and branching statement with break, conti...
Q: What are the four stages of technological progress, exactly ?
A: Technological Progress has 4 stages, Research and Development / Innovation Ascent Phase Maturity St...
Q: Write the symbol used in the following language of mathematics: 1. The complement of the complement...
A: I have Provided this answer with full description in step-2.
Q: C-3.25 Describe an algorithm for concatenating two singly linked lists L and M, into a single list L...
A: Find an implementation below.
Q: What exactly is the Internet Explorer Box Model Bug, and how does it impact you?
A: Introduction: The Internet Explorer box model vulnerability is a well-known flaw in the implementati...
Question:- write a c++
Step by step
Solved in 3 steps with 1 images
- Create a c++ shopping cart program using: linked list- - this will be used as the customer's cart. This is where the items that the customer will buy are placed before checking them out. Array - to store your store products. Pointers - since you will be using linked lists, it is imperative that you also will be using pointers. Functions - Make sure that your program will have user-defined functions (e.g.: function for adding nodes, function for displaying the cart, etc.) The menu options would be cout5. Write a C++ function which accepts an int array and the array size as arguments. The function should dynamically create a new array which is the same size as the array passed in. Each element in the new array should be double the corresponding element in the array passed in. Return a pointer to the new array. E.g. if you pass in the array {2, -3, 5} of size 3, it should create a new array of size 3 with values {4, -6, 10} and return a pointer to it. int *doubler(int a[], int size) 6. Consider the following line of code: int temps[3] = {68, 72, 62}; - What does *temps contain? - What does *(temps+1) contain? - What does temps[1] contain? 7. The _____ function returns true if the character is an upper case letter of the alphabet: a) toupper() b) isupper() c) isalpha() d) isdigit() e) none of these 8. The _____ function converts a C-string to an int: a) strlen() b) length() c) len() d) atoi() e) none of theseCode in C for this: You are to read 10 numbers from a data file into an array named List. Create another 10 element array named Reverse that is to contain the same items as List but in reverse order. For example, the first element in List will be placed in the last position of Reverse, the second element in List will be placed in the second-to-last position in Reverse, etc. After Reverse has been created, output the contents of both arrays.
- write in c++ please but not use stl, use array please... Use the following headers to create a function that returns sorted strings. Create a test program that receives the string sort(string&s) string and outputs the newly sorted string to the screen.sample execution resultEnter a string s : silentThe sorted string is eilnstQuestion 2: multiply Problem statement In this question first we will practice function overloading and then function templates. Please follow below instructions. We can extend multiplication easily for string types if we interpret the operation as repetition. For example "code" * 3 may be interpreted as "codecodecode". In fact, languages like Python already support this operation. Write a C++ function named multiply that can multiply(repeat) an std::string by a given integer number and return the repeated string. Write another C++ function named multiply that can multiply two given integer (int type) numbers and return the product as an integer. Write another C++ function with the same name that can multiply a floating point number (double type) by a given integer number and return the product as a floating point number. We defined three functions with the same name without a problem. It is either because they have a different number of parameters, or because any of their…Hello, in C++ I need to solve this problem. *NOTE: The code must be able to read an input file, not individual user inputs of passwords. PROBLEM: Given a file of unsorted words with mixed case: read the entries in the file and sort those words into alphabetical order. The program should then prompt the user for an index, and display the word at that index. Since you must store the entire list in an array, you will need to know the length. The "List of 1000 Mixed Case Words" contains 1000 words. Note that some of these "words" have spaces, so read them one line at a time. You are guaranteed that the words in the array are unique, so you don't have to worry about the order of, say, "bat" and "Bat." For example, if the array contains ten words and the contents are cat Rat bat Mat SAT vat Hat pat TAT eat the sorted list is bat cat eat Hat Mat pat Rat SAT TAT vat and after sorting, the word at index 6 is Rat You are encouraged to use this data to test your program.
- Question 2: multiply Problem statement In this question first we will practice function overloading and then function templates. Please follow below instructions. We can extend multiplication easily for string types if we interpret the operation as repetition. For example "code" * 3 may be interpreted as "codecodecode". In fact, languages like PythonLinks to an external site. already support this operation. Write a C++ function named multiply that can multiply(repeat) an std::string by a given integer number and return the repeated string. Write another C++ function named multiply that can multiply two given integer (int type) numbers and return the product as an integer. Write another C++ function with the same name that can multiply a floating point number (double type) by a given integer number and return the product as a floating point number. We defined three functions with the same name without a problem. It is either because they have a different number of parameters, or…I want it with C function please. Write a C function named(difference), that accepts an integer one-dimensional array and its size, returns the difference between the largest element and the smallest element.e.g. the array is [1,7,13,22,15,6,4,3,2,9,21] the output is:21Write a C++ function that uses pointer notation only to swap the contents of two integer arrays whose size is equal to SIZE?
- In C++ Create an array of head pointers, statically allocated of size 101 of that type: Now, create a pointer that can point to the first element: Show how to dynamically allocate an array of 101 elements of head pointers: Write the code to initialize each element to NULL: Rewrite the code to initialize each element to NULL using pointer arithmetic:Please fill in the blanks for C, from 1 to 68. /*The program will get the information of each client and print it right back. We could get the information of all clients first, then print them all later for better readability using an array of struct.*/ #include<stdio.h> #include<stdbool.h> #define length 70 //assume there's no names longer than 70 /*It's good practice to add all function headers to the top of the program*/ __1__ __2__ getEmployeeInfo(); __3__ printEmployeeInfo(__4__ __5__ em); __6__ __7__ getClientInfo(__8__ i); __9__ printClientInfo(__10__ __11__ cli, __12__ i); /*Employee struct: all the arrays use the same constant size defined on top name-first, last-(string) title (string) number of clients (integer) number of years working at the company(can take decimal points). */ __13__ employee { __14__ first_name[__15__]; __16__ last_name[__17__]; __18__ title[__19__]; __20__ num_clients; __21__…Finish the swap function below using pointers and write the call to swap in the reverse function using the address of the array positions array[i] and array[size-i-1].using pointers. DON'T FORGET TO DECLARE THE PARAMETERS in the function. (Hint: if you can't figure it out with pointers, do it with the references #include <iostream>using namespace std; // Function to swap two ints using pointers// @param pointer to an int// @param pointer to an intvoid swap( ) {// TODO: Add code that swaps two integers using pointers } // Function to reverse arrayvoid reverse(int a[], int size) {for (int i = 0; i < size/2; i++) {// TODO: write the call to swap in the reverse function using the // address of the array positions array[i] and array[size-i-1].