Web development and programming
191828 questions • Page 128 / 3837
// C programming //Complete the missing source code - - - #include #i
// C programming //Complete the missing source code - - - #include <stdlib.h> #include <string.h> #include "myalloc.h" /* Given a string, return an array of the head s…
// C programming Create a system managing a mini library system. Every book corr
// C programming Create a system managing a mini library system. Every book corresponds to a record (line) in a text file named "mylibrary.txt". Each record consists of 6 fields (…
// C programming help if you can, run the program please //Complete the missing
// C programming help if you can, run the program please //Complete the missing source code - - - #include <stdlib.h> #include <string.h> #include "myalloc.h" /* Given…
// C programming please help if you can on the missing code, at least compile to
// C programming please help if you can on the missing code, at least compile to see it worked. Thanks //Complete the missing source code - - - #include <stdlib.h> #include …
// C programming, PLEASE COMPILE a code to match with the EXPECTED VALUE // MY O
// C programming, PLEASE COMPILE a code to match with the EXPECTED VALUE // MY OUTPUT IS WRONG void minmax(int a[], int len, int *minpos, int *maxpos) { *minpos=*maxpos=a[0]; for(…
// C programming: my output is incorrect. does not match with the expected value
// C programming: my output is incorrect. does not match with the expected value. /* Compute the positions of the minimum and maximum of an array, and place the results into the l…
// C++ // Here\'s my code as of now. //ArgumentManager.h #include #include
// C++ // Here's my code as of now. //ArgumentManager.h #include <map> #include <string> #include <iostream> #include <sstream> using namespace std; class …
// C++ // Program used to gather statistical data about the number of movies col
// C++ // Program used to gather statistical data about the number of movies college students see in a month. // Program will calculate and print the average, median, and mode of …
// C++ Edit this program calculate the average of the nodes in the list (CalcAvg
// C++ Edit this program calculate the average of the nodes in the list (CalcAvg ) append a node to the end of the list (EndNode) pre-pend a node to the front of the list (FirstNo…
// C++ programming, write an implementation of a class // ***** Write Country.cp
// C++ programming, write an implementation of a class // ***** Write Country.cpp file which works with SortingList and Main with a text file contant name, population, area ***…
// CS 250 question 2- Fall, 2015 // Write a function to delete an item in a // d
// CS 250 question 2- Fall, 2015 // Write a function to delete an item in a // double linked list // NOTE: // A double linked list has two pointers in each node // - p points to t…
// CS 250 question 3 - Fall, 2015 // 1. Write an iterative (i.e. while loop) fun
// CS 250 question 3 - Fall, 2015 // 1. Write an iterative (i.e. while loop) function // to determine if two lists are equal // // 2. Also, follow the directions in main to set up…
// CSE240 Fall 2018 HW5 // Write your name here // Write the compiler used: Visu
// CSE240 Fall 2018 HW5 // Write your name here // Write the compiler used: Visual studio or gcc // READ BEFORE YOU START: // You are given a partially completed program that crea…
// Can someone explain what is wrong with this code? //it shows these error mess
// Can someone explain what is wrong with this code? //it shows these error messages //hangman.cpp: In function 'int main()': //hangman.cpp:39: error: invalid conversion from 'con…
// Catch exceptions for array index out of bounds // or dividing by 0 import jav
// Catch exceptions for array index out of bounds // or dividing by 0 import javax.swing.*; public class DebugTwelve3 { public static void main(String[] args) { String inStr; int …
// Chapter 8 Programming Activity 2 // ArrayPractice2.java // Anderson, Francesc
// Chapter 8 Programming Activity 2 // ArrayPractice2.java // Anderson, Franceschi import java.awt.*; import javax.swing.*; import javax.swing.JOptionPane; import java.awt.event.*…
// Chapter 8 Programming Activity 2 // ArrayPractice2.java // Anderson, Francesc
// Chapter 8 Programming Activity 2 // ArrayPractice2.java // Anderson, Franceschi import java.awt.*; import javax.swing.*; import javax.swing.JOptionPane; import java.awt.event.*…
// Chapter 9 of C++ How to Program // car.cpp #include using std::cou
// Chapter 9 of C++ How to Program // car.cpp #include <iostream> using std::cout; using std::endl; #include "car.h" /* Write the constructor for Car, which takes the Car’s …
// Code from: // Data Structures and Algorithms in C++, Goodrich, Tamassia, and
// Code from: // Data Structures and Algorithms in C++, Goodrich, Tamassia, and Mount, 2nd Ed., 2011. // #pragma once #include <stdexcept> using namespace std; template <…
// Comp220 Lab 1.cpp : Defines the entry point for the console application. // #
// Comp220 Lab 1.cpp : Defines the entry point for the console application. // #include "stdafx.h" int _tmain(int argc, _TCHAR* argv[]) { return 0; } /****************************…
// Compile this program from the command line using // g++ -std=c++11 ModelSampl
// Compile this program from the command line using // g++ -std=c++11 ModelSampleProgram.cpp // Compile this program in an IDE (CodeBlocks, VisualStudio, etc.) by // setting co…
// Compiler Theory // Using Flex and Bison book as reference: ISBN: 978-0-596-15
// Compiler Theory // Using Flex and Bison book as reference: ISBN: 978-0-596-15597-1 Create a (f)lex program that will recognize numbers. For the purposes of this exercise, defin…
// Complete the C++ function and its recursive helper to determine whether the t
// Complete the C++ function and its recursive helper to determine whether the tree rooted at root is a binary search tree. #include <iostream> // Code goes here pt1 using n…
// Computation.java This program calculates sum, difference, and product of two
// Computation.java This program calculates sum, difference, and product of two values. // Input: Interactive. // Output: Sum, difference, and product of two values. import javax.…
// ConsoleApplication4.cpp : Defines the entry point for the console application
// ConsoleApplication4.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include #include /* int _tmain(int argc, _TCHAR* argv[]) { std::…
// Convert the following code into MIPS #include #include usi
//Convert the following code into MIPS #include<iostream> #include<cstring> using namespace std; //method to reverse the string char *Reverse(char *s) { int len=strlen…
// Create scanner to obtain input from user Scanner input = new Scanner(System.i
// Create scanner to obtain input from user Scanner input = new Scanner(System.in); int ItemsPurchased = 0; double ItemPrice; System.out.printf("%n%s", "Enter a part number: "); S…
// Creates a BoatLicense class // And instantiates three BoatLicense objects //
// Creates a BoatLicense class // And instantiates three BoatLicense objects // The price of a licence is $25 if the boat motor is 50 HP or under // and $38 if the HP is over 50 /…
// Creates a Car class // You can construct a Car using a price and color // or
// Creates a Car class // You can construct a Car using a price and color // or just a price, in which case a Car is black // or no parameters, in which case a Car is $10,000 and …
// Cylinder class // I NEED INHERITANCE THIS PROGRAM // I NEED HELP PLEASE!!!!!!
// Cylinder class // I NEED INHERITANCE THIS PROGRAM // I NEED HELP PLEASE!!!!!!!!!!! public class Cylinder { private double height; private double radius; public Cylinde…
// DO NOT ADD NEW METHODS OR NEW DATA FIELDS! package PJ3; class Cashier { // ca
// DO NOT ADD NEW METHODS OR NEW DATA FIELDS! package PJ3; class Cashier { // cashier id and current customer which is served by this cashier private int cashierID; private Custom…
// Day of the year. // This program takes an integer representing a day of the Y
// Day of the year. // This program takes an integer representing a day of the Year and translates it to an description of the form Month - day of month. // Assumes all years have…
// Debounce FSM // This FSM simply debounces the button status, it acts as a fil
// Debounce FSM // This FSM simply debounces the button status, it acts as a filter that removes the undesired bounces // This FSM has two inputs the raw button status (rawButtonS…
// Debug 12-2 A Student class // Extraction operator throws exceptions if an ID
// Debug 12-2 A Student class // Extraction operator throws exceptions if an ID number is negative // or more than four digits // An exception also is thrown if the gpa is over 4.…
// Debug File #4 #include using namespace std; int main() { //declare
// Debug File #4 #include <iostream> using namespace std; int main() { //declare variables int hoursWorked, payRate, pay; // Get the number of hours worked. cout << "H…
// DebugFive4.java // Outputs highest of four numbers import java.util.*; public
// DebugFive4.java // Outputs highest of four numbers import java.util.*; public class DebugFive4 { public static void main (String args[]) { Scanner input = new Scanner(System.in…
// Declaration of InventoryItem structure struct InventoryItem { char desc[51];
// Declaration of InventoryItem structure struct InventoryItem { char desc[51]; //item description int qty; //quantity on hand float wholesale; //wholesale price float retail; …
// Demonstrates passing arguments to function parameters. #include #i
// Demonstrates passing arguments to function parameters. #include <iostream> #include <iomanip> using namespace std; // TODO: Write function prototype here. This func…
// Draw a bouncing ball on the window for 10 seconds. // The ball has a specific
// Draw a bouncing ball on the window for 10 seconds. // The ball has a specific color, size, location, and direction. // (x,y) is the upper left corner of the first location. // …
// EXCEPTION // I NEED HELP /* 1. An empty string is given for the employee’s na
// EXCEPTION // I NEED HELP /* 1. An empty string is given for the employee’s name. 2. An invalid value is given for the employee’s ID number. If you implemented this field as a s…
// Each time a salesperson sells a car at the // Pardeeville New and Used Auto D
// Each time a salesperson sells a car at the // Pardeeville New and Used Auto Dealership, // a record is created containing the salesperson’s // name and the amount of the sale. …
// ElevatorSimulator.cpp : Defines the entry point for the console application.
// ElevatorSimulator.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <string> #include <cstdlib> #…
// Employee abstract superclass public abstract class Employee { private String
// Employee abstract superclass public abstract class Employee { private String firstName; private String lastName; private String SSN; private double salary; // three-argument co…
// Employee\'s salary should not be negative // Include stack trace when excepti
// Employee's salary should not be negative // Include stack trace when exception occurs using System; class FDebugEleven03 { static void Main() { Employee emp = new E…
// Employee\'s salary should not be negative // Include stack trace when excepti
// Employee's salary should not be negative // Include stack trace when exception occurs using System; using static System.Console; class FDebugEleven03 { static void Main() { Emp…
// Enter your name as a comment for program identification // Program assignment
// Enter your name as a comment for program identification // Program assignment testEmployeeAB.cpp // Enter your class section, and time /* The program testEmployeeAB.cpp tests t…
// Enter your name as a comment for program identification // Program assignment
// Enter your name as a comment for program identification // Program assignment Factorial.cpp // Enter your class section, and time /* The program Factorial1.cpp is a program tha…
// Enter your name as a comment for program identification // Program assignment
// Enter your name as a comment for program identification // Program assignment Vowel.cpp // Enter your class section, and time /* The program Vowel.cpp prompts the user to en…
// Example program #include using namespace std; void EulerF(float x0, float y0,
// Example program #include using namespace std; void EulerF(float x0, float y0, float h, float x) { //Euler method for f(x) while (x0 < x) { float temp = y0; …
// Exercise 19.7 Solution: Bucketsort.java / sort an array\'s values into ascend
// Exercise 19.7 Solution: Bucketsort.java / sort an array's values into ascending order using bucket sort import java.util.Random / determine the divisor used to get specific dig…
Subject
Web development and programming
Use Browse or pick another subject.