Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Web development and programming

191828 questions • Page 129 / 3837

// Exercise 3.25 Solution #include using std::cout; using std::endl;
// Exercise 3.25 Solution #include <iostream> using std::cout; using std::endl; using std::cin; #include <iomanip> using std::setw; int quotient( int, int ); int remai…
// Exercise 4.1.16 package algs41; import stdlib.*; // This is problem 4.1.16 fr
// Exercise 4.1.16 package algs41; import stdlib.*; // This is problem 4.1.16 from the textbook // // You need only change the constructor. // You can also change the main method.…
// Exercise 4.1.16 package algs41; import stdlib.*; // This is problem 4.1.16 fr
// Exercise 4.1.16 package algs41; import stdlib.*; // This is problem 4.1.16 from the textbook // // You need only change the constructor. // You can also change the main method.…
// FILE GameOfLife.h // CLASSES: GamOfLife, Cell(in the namespace csci2312) // /
// FILE GameOfLife.h // CLASSES: GamOfLife, Cell(in the namespace csci2312) // // DESCRIPTION: https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life // The universe of the Game of…
// FILE: bag_demo.cxx // This is a small demonstration program showing how the b
// FILE: bag_demo.cxx // This is a small demonstration program showing how the bag class is used. #include <iostream> // Provides cout and cin #include <cstdlib> // Pr…
// FILE: express.h // CLASS PROVIDED: ExpressionTree // This class provides only
// FILE: express.h // CLASS PROVIDED: ExpressionTree // This class provides only NONEMPTY expression trees // from Project 1 of Chapter 10 in first edition of // "Data Structures …
// FILE: node1.h (part of the namespace main_savitch 5) // PROVIDES: A class for
// FILE: node1.h (part of the namespace main_savitch 5) // PROVIDES: A class for a node in a linked list and a collection of functions for // manipulating linked lists 2 // TYPEDE…
// FILE: sequence1.h // CLASS PROVIDED: sequence (part of the namespace main_sav
// FILE: sequence1.h // CLASS PROVIDED: sequence (part of the namespace main_savitch_3) // There is no implementation file provided for this class since it is // an exercise from …
// FILE: sequence2.h // CLASS PROVIDED: sequence (part of the namespace main_sav
// FILE: sequence2.h // CLASS PROVIDED: sequence (part of the namespace main_savitch_4) // There is no implementation file provided for this class since it is // an exercise from …
// FILL IN this method. public ComplexNumber conjugate() { // Return the complex
   // FILL IN this method.    public ComplexNumber conjugate() {        // Return the complex conjugate of the complex number represented by        // this object.               /…
// Fawaz Joseph // Cosc 112 // 3/23/2010 // This program will count the prices o
// Fawaz Joseph // Cosc 112 // 3/23/2010 // This program will count the prices of orders made for apicture frame #include<iostream> using namespace std; int main() {     dou…
// Fig. 7.25 Prime Numbers Write an app that displays all the prime numbers less
// Fig. 7.25 Prime Numbers Write an app that displays all the prime numbers less than 10,000 Why won't my code show numbers less than 7309? using System; using System.Collections.…
// File EOF Controlled while // Declare variables for integer read, sum of integ
// File EOF Controlled while // Declare variables for integer read, sum of integers read, #of integers read // Initialize sum and # to 0 // Declare input file stream // Open input…
// File: BuggyList.java // Author: Geoffrey Tien/ Rita Ester // Description: Bug
// File: BuggyList.java // Author: Geoffrey Tien/ Rita Ester // Description: Buggy linked list implementation for CSCI 225 Lab 1 // Based on SimpleStack at course website public c…
// File: BuggyList.java // Author: Geoffrey Tien/ Rita Ester // Description: Bug
// File: BuggyList.java // Author: Geoffrey Tien/ Rita Ester // Description: Buggy linked list implementation for CSCI 225 Lab 1 // Based on SimpleStack at course website public c…
// File: DDL.h // Student name: // Date: // Description: Definition of a doubly-
// File: DDL.h // Student name: // Date: // Description: Definition of a doubly-linked-list class using template #ifndef _DLL_H_ #define _DLL_H_ #include <cstdlib> #include …
// File: Driver.cpp // Note: Used to test our date class with overloaded functio
// File: Driver.cpp // Note: Used to test our date class with overloaded functions #include #include "d_date.h" using namespace std; void main (void) {    date date1;    date date…
// File: LinkedStack.java from the package edu.colorado.collections // Complete
// File: LinkedStack.java from the package edu.colorado.collections // Complete documentation is available from the LinkedStack link in: // http://www.cs.colorado.edu/~main/docs/ …
// File: Palindrome.java // This program determines whether an input line is a p
// File: Palindrome.java // This program determines whether an input line is a palindrome. The program // ignores everything except alphabetic letters, and it ignores the differen…
// File: io/readwrite/CopyTextFile.java // Description: Example to show text fil
// File: io/readwrite/CopyTextFile.java // Description: Example to show text file reading and writing. // Author: Fred Swartz // Date : February 2006 import java.io.*; import java…
// File: io/readwrite/CopyTextFile.java // Description: Example to show text fil
// File: io/readwrite/CopyTextFile.java // Description: Example to show text file reading and writing. // Author: Fred Swartz // Date : February 2006 import java.io.*; import java…
// File: io/readwrite/CopyTextFile.java // Description: Example to show text fil
// File: io/readwrite/CopyTextFile.java // Description: Example to show text file reading and writing. // Author: Fred Swartz // Date : February 2006 import java.io.*; import java…
// File: io/readwrite/CopyTextFile.java // Description: Example to show text fil
// File: io/readwrite/CopyTextFile.java // Description: Example to show text file reading and writing. // Author: Fred Swartz // Date : February 2006 import java.io.*; import java…
// File: io/readwrite/CopyTextFile.java // Description: Example to show text fil
// File: io/readwrite/CopyTextFile.java // Description: Example to show text file reading and writing. // Author: Fred Swartz // Date : February 2006 import java.io.*; import java…
// File: io/readwrite/CopyTextFile.java // Description: Example to show text fil
// File: io/readwrite/CopyTextFile.java // Description: Example to show text file reading and writing. // Author: Fred Swartz // Date : February 2006 import java.io.*; import java…
// File: io/readwrite/CopyTextFile.java // Description: Example to show text fil
// File: io/readwrite/CopyTextFile.java // Description: Example to show text file reading and writing. // Author: Fred Swartz // Date : February 2006 import java.io.*; import java…
// File: io/readwrite/CopyTextFile.java // Description: Example to show text fil
// File: io/readwrite/CopyTextFile.java // Description: Example to show text file reading and writing. // Author: Fred Swartz // Date : February 2006 import java.io.*; import java…
// File: yuan.h #include #include #include #includ
// File: yuan.h #include <iostream> #include <fstream> #include <string> #include <iomanip> using namespace std; struct book { int ISBN; string Author; str…
// Filename: /net/data/ftp/pub/class/170/Pointers/pointers.cpp // This pgm is th
// Filename: /net/data/ftp/pub/class/170/Pointers/pointers.cpp // This pgm is the solution to both // passing pointers to functions // using dynamic data arrays #include #include …
// Fill in your own header comment #include #include #inclu
// Fill in your own header comment #include <stdio.h> #include <stdlib.h> #include <time.h> #include <string.h> // Constants to be used. // Passing score #…
// Find the error in the following pseudocode. Module main ( ) Declare Real valu
// Find the error in the following pseudocode. Module main ( )           Declare Real value, result           // Get a value from the user.           Display "Enter a value."     …
// Find words in the list that start with q but not qu // DSM, 2016 #include
// Find words in the list that start with q but not qu // DSM, 2016 #include <stdio.h> #include <stdlib.h> // For perror and exit #include <string.h> //*** Tests…
// Finish the following program which adds up all integers from 0 to // the user
// Finish the following program which adds up all integers from 0 to // the user's given number inclusively using a While Loop. The total should be // assigned to the variable 'to…
// Finish the following program which adds up all integers from 0 to // the user
// Finish the following program which adds up all integers from 0 to // the user's given number inclusively using a While Loop. The total should be // assigned to the variable 'to…
// Finish the following program which adds up all integers from 0 to the user\'s
// Finish the following program which adds up all integers from 0 to the user's given number inclusively using a FOR loop. The total should be assigned to the variable 'total'. #i…
// Finite State Machine Class public class FSM { // Instance variables public St
// Finite State Machine Class public class FSM { // Instance variables public String alphabet; public int stateTrans[][]; public int acceptState[]; private int cstate; // Construc…
// First, write a void function \"GetInputs\" that prompts the user to // enter
// First, write a void function "GetInputs" that prompts the user to // enter the initial balance of the account and the // type of the customer('r' - regular customer, 'v' - VIP,…
// Flowers.java - This program reads names of flowers and whether they are grown
// Flowers.java - This program reads names of flowers and whether they are grown in shade or sun from an input // file and prints the information to the user's screen. // Input: f…
// For question 4 you are to write 4 functions // 1 - Find the largest value in
// For question 4 you are to write 4 functions // 1 - Find the largest value in the tree for an ORDERED TREE // Your algorithm MUST use the fact that the tree is ordered // The an…
// GENERATED /* INSTRUCTIONS * * Complete the exercises below. For each \"EXERCI
// GENERATED /* INSTRUCTIONS * * Complete the exercises below. For each "EXERCISE" comment, add * code immediately below the comment. * * Please see README.md for instructions, in…
// GameOfLife // // AFTER I COMPILE, NO OUTPUT SHOW UP // #include #i
// GameOfLife // // AFTER I COMPILE, NO OUTPUT SHOW UP // #include <iostream> #include <fstream> using namespace std; // Print the grid void print(int cells[12][12], s…
// GetData() method accepts order number and quantity // that are used in the Ma
// GetData() method accepts order number and quantity // that are used in the Main() method // Price is $3.99 each using System; class DebugEight1 {    public static void Main()  …
// GetData() method accepts order number and quantity // that are used in the Ma
// GetData() method accepts order number and quantity // that are used in the Main() method // Price is #3.99 each using System; public class DebugSix1 { public static void Main()…
// HM.cpp : Defines the entry point for the console application. // #include #in
// HM.cpp : Defines the entry point for the console application. // #include #include #include #include #include using #define struct string last; int double char } unit[MAX]; voi…
// Helper method for completion_count). Here\'sa (recursive) algorithm Base case
// Helper method for completion_count). Here'sa (recursive) algorithm Base case: If root is nullptr, then return e Recursive case -Return the sum of the completion counts of the l…
// Homework -- 02/16/2017 // Here are the function prototypes for your homework
// Homework -- 02/16/2017 // Here are the function prototypes for your homework // Write out the actual functions themselves // Also create a main function that demonstrates that …
// Homework Lab 28 // Passing arguments by-Value and using return types. #includ
// Homework Lab 28 // Passing arguments by-Value and using return types. #include<iostream> using namespace std; // TODO: Declare function prototype // - Name: isPrime // Pa…
// How to fix this code for it to do what is supposed to do? /* About this progr
// How to fix this code for it to do what is supposed to do? /* About this program: - This program counts words. - The specific words that will be counted are passed in as command…
// I WANT TO USE DIALOG BOX // I NEED HELP PLEASE 1 import java.text.DecimalForm
// I WANT TO USE DIALOG BOX // I NEED HELP PLEASE 1 import java.text.DecimalFormat; 2 import java.util.Scanner; 3 public class BuyingCar 4 { 5 public static void main(String[] arg…
// I am not sure about the programming codes //Need help with validation //Need
// I am not sure about the programming codes //Need help with validation //Need help with alignment of EmpId and Gross Pay //Need help with getting the EmpID to up in the console …