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 127 / 3837

// **************************************************************** // Factorial
// **************************************************************** // Factorials.java // // Reads integers from the user and prints the factorial of each. // // *****************…
// **************************************************************** // ParseInts
// **************************************************************** // ParseInts.java // // Reads a line of text and prints the integers in the line. // // ***********************…
// ****************************************************************** // BaseCon
// ****************************************************************** // BaseConversion.java // // Recursively converts an integer from base 10 to another base // ****************…
// ****************************************************************** // DigitPl
// ****************************************************************** //   DigitPlay.java // //   Finds the number of digits in a positive integer. // ****************************…
// ************************************************************************ // W
// ************************************************************************ //   Warning.java // //   Reads student data from a text file and writes data to another text file. // …
// -*- mode: c++ -*- #ifndef _WCSET_H_ #define _WCSET_H_ #include namespace cs25
// -*- mode: c++ -*- #ifndef _WCSET_H_ #define _WCSET_H_ #include namespace cs251 { template class wcset{ public: // constructor -- makes an empty wcset wcset(std::size_t initial_…
// ---------- UTILITIES CLASS public class Utilities { public static String vali
// ---------- UTILITIES CLASS public class Utilities {             public static String validateCreditCard(String credit_card) throws InvalidCreditCardException       // simply re…
// ---------------------------------------------------------- // Student.java //
// ---------------------------------------------------------- //                    Student.java // ---------------------------------------------------------- public class Student…
// ------------------------------------------------------------ // Name.java //
// ------------------------------------------------------------ //                Name.java // ------------------------------------------------------------ public class Name {    …
// ------------------------------------------------------------ // Name.java //
// ------------------------------------------------------------ // Name.java // ------------------------------------------------------------ public class Name { private String fir…
// ------------------------------------------------------------ // Name.java //
// ------------------------------------------------------------ // Name.java // ------------------------------------------------------------ public class Name { private String fir…
// // Lab Project 5 Name__________________________________ // #include
// // Lab Project 5 Name__________________________________ // #include <iostream> #include <iomanip> using namespace std; // create a function to print the contents of…
// // Purpose: // // Return a list of all the key/value Entrys stored in the tre
//    // Purpose:    //    // Return a list of all the key/value Entrys stored in the tree    // The list will be constructed by performing a level-order    // traversal of the tr…
// // c-datatypes.c // #include #include #include
// // c-datatypes.c // #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <stdbool.h> #include <inttypes.h&gt…
// // main.cpp // GameOfLife // // PROGRAM CRASHES // NO OUPUT #include
// // main.cpp // GameOfLife // // PROGRAM CRASHES // NO OUPUT #include <iostream> #include <fstream> using namespace std; // Print the grid void print(int cells[12][1…
// // main.cpp // ch. 7 project 5 // # include using namespace std ;
// // main.cpp // ch. 7 project 5 // # include <iostream> using namespace std; void get_array(int [a], int size, int number); void sort_array(int a[], int number); void swap…
// // main.cpp // ch. 7 project 5 // # include using namespace std ;
// // main.cpp // ch. 7 project 5 // # include <iostream> using namespace std; void get_array(int a[], int size, int number); void sort_array(int a[], int number); void swap…
// // stack.h // // Specification file for Stack class, a stack of integers impl
// // stack.h   // // Specification file for Stack class, a stack of integers implemented // using doubly-linked nodes. // // // #include <iostream> using namespace std; #if…
// //FIXME file header comment import java.io.File; import java.io.FileNotFoundE
// //FIXME file header comment import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import…
// 1) howSwedish //ABBA is a band, they have many songs including Dancing Queen,
// 1) howSwedish //ABBA is a band, they have many songs including Dancing Queen, and // Fernando. ABBA is actually a Swedish band, so if we wanted to find // out howSwedish a Stri…
// 1. Write an iterative (i.e. while loop) function // to determine if two lists
// 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 and test lists e and f // 3. Test…
// 1. Write an iterative (i.e. while loop) function // to determine if two lists
// 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 and test lists e and f // 3. Test…
// 2-dimensional array of row pin numbers: const int row[8] = { 2, 7, 19, 5, 13,
// 2-dimensional array of row pin numbers: const int row[8] = { 2, 7, 19, 5, 13, 18, 12, 16 }; // 2-dimensional array of column pin numbers: const int col[8] = { 6, 11, 10, 3, 17,…
// 2. ***** student writes this method /** Sorts arr in ascending order using th
// 2. ***** student writes this method /** Sorts arr in ascending order using the bubble sort algorithm */ public void bubbleSort() { // Note: To animate the algorithm, put this m…
// 5 points static boolean Q2(String possiblePhrase){ // return true if the inpu
// 5 points static boolean Q2(String possiblePhrase){ // return true if the input could be a phrase in the format "<adjective> <noun> <verb> <adverb>", // …
// ??? This program should pause at the 24th line and wait for key punch to stri
// ??? This program should pause at the 24th line and wait for key punch to strike a key then read the next 24 line and pause again. //My program does not do it. How can it get th…
// A class template for holding a linked list. // The node type is also a class
// A class template for holding a linked list. // The node type is also a class template. #ifndef LINKEDLIST_H #define LINKEDLIST_H //*********************************************…
// A class\'s description to be provided by student // Fill in code in ALL comme
// A class's description to be provided by student // Fill in code in ALL commented areas public class LinkedList { // Defined Node class private class Node {     private Object D…
// A class\'s description to be provided by student // Fill in code in ALL comme
// A class's description to be provided by student // Fill in code in ALL commented areas public class LinkedList { // Defined Node class private class Node { private Object Data …
// A high school is holding a recycling competition // This program allows a use
// A high school is holding a recycling competition // This program allows a user to enter a student's // year in school (1 through 4) and number of cans collected // Data is ente…
// A mutable set of Numbers class NumberSet { // @effects makes a new empty Numb
// A mutable set of Numbers class NumberSet { // @effects makes a new empty NumberSet public NumberSet(); // @returns n ? this public boolean contains(Number n); // @modifies this…
// A program named SubscriptExceptionTest in which you declare an array of 20 do
// A program named SubscriptExceptionTest in which you declare an array of 20 doubles and store values // in the array. Write a try block in which you place a loop that prompts th…
// A program to demonstrate a linked list #include #include
// A program to demonstrate a linked list #include <iostream> #include<cstdlib> using namespace std; // Function prototypes void buildlist(void); void insertnode(void)…
// A simple lexical analyzer for C/C++-style variable declarations. // The gramm
// A simple lexical analyzer for C/C++-style variable declarations. // The grammar for the declarations is as follows: // // <declaration> ::= <type> <var> ’;’ |…
// A standard mortgage is paid monthly over 30 years. // This program is intende
// A standard mortgage is paid monthly over 30 years. // This program is intended to print 360 payment coupons // for each new borrower at a mortgage comapny. Each coupon // lists…
// A standard mortgage is paid monthly over 30 years. // This program is intende
// A standard mortgage is paid monthly over 30 years. // This program is intended to output 360 payment coupons // for each new borrower at a mortgage company. // Each coupon list…
// ASSIGNMENT : overhaul the skeleton code below to read 10 questions from the f
//ASSIGNMENT: overhaul the skeleton code below to read 10 questions from the file given using C. //The file name: questionbank.txt //THIS IS THE FILE THAT HAS 50 QUESTINS. 10 SHOU…
// Abstract base class Book. public abstract class Book { private String bookTit
// Abstract base class Book. public abstract class Book { private String bookTitle; private String bookAuthor; // constructor public Book(String title, String author) { bookTitle …
// Ansignent #. 4 /I Namet Your name /I StudentID: /I Description: Assignment 4
// Ansignent #. 4 /I Namet Your name /I StudentID: /I Description: Assignment 4 class displays a menu of choices to a user and performs the chosen task. It will keep asking a user…
// Assignment #: 4 I Name: Your name // StudentID: // Description: Assignment 4
// Assignment #: 4 I Name: Your name // StudentID: // Description: Assignment 4 class displays a menu of choices to a user and performs the chosen task. It will keep asking a user…
// AverageGrade.cpp // // This project implements a program similar to the Movie
// AverageGrade.cpp // // This project implements a program similar to the MovieRatings project. It does not // provide all of the required 'information' shown on the movie rating…
// BSTree.cpp #ifndef BSTREE_CPP #define BSTREE_CPP #include #include
// BSTree.cpp #ifndef BSTREE_CPP #define BSTREE_CPP #include <new> #include <iostream> #include "BSTree.h" using namespace std; //-------------------------------------…
// Backward String //Write a function that accepts a pointer to a C-string as an
// Backward String //Write a function that accepts a pointer to a C-string as an argument and display its contents backward. ///??? The error is in the for loop at the = symbol. C…
// Basically i need to make 3 functions // getTemps() // this function asks the
// Basically i need to make 3 functions // getTemps() // this function asks the user to enter 3 temperatures for 3 cities. // the numbers are read and assigned to variables // the…
// Before I post this question but answer does not work. I need this answer in C
// Before I post this question but answer does not work. I need this answer in C program and also please upload the programming output. Previous answer #include gives fatal error.…
// Below is the code for solving 8 queens problem using backtracking and 2 dimen
// Below is the code for solving 8 queens problem using backtracking and 2 dimensional arrays. Now i need to do this using a 1 dimensional array. please help. #include <iostrea…
// BinaryHeap_HW4.h // KV, May 2018, after Weiss, Data Structures textbook // KV
// BinaryHeap_HW4.h // KV, May 2018, after Weiss, Data Structures textbook // KV: version for HW4; counts comps for insert and deleteMin; #ifndef BINARYHEAP_H_ #define BINARYHEAP_…
// 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 You are to add the missing functions in provide.c. When complet
// C Programming You are to add the missing functions in provide.c. When completed the program must support the following features. When the program starts ask for the user's name…
// C program for linked list implementation of stack #include #include
// C program for linked list implementation of stack #include <stdio.h> #include <stdlib.h> #include <limits.h> // A structure to represent a stack struct StackN…