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

Browse All

Alphabetical listing with fast deep pagination.
1197283 items • Page 42 / 23946

All 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
#include /* cout, cin, endl etc ... */ #include /* Allows
#include <iostream> /* cout, cin, endl etc ... */ #include <algorithm> /* Allows use of sorting templates/containers */ #include <vector> /* Allows use of vector…
#include // I/O #include // allows access to string object #
#include <iostream> // I/O #include <string> // allows access to string object #include <cstdlib> // allows access to EXIT_SUCCESS #include <list> // allow…
#include // function prototype void delete_repeats (char a[],int & po
#include <iostream> // function prototype void delete_repeats (char a[],int & positions_usd); bool find_char (char target,char a[], int size); int main() { char a[81]= "…
#include // include vector library using namespace std; //Function pr
#include <iostream> // include vector library using namespace std; //Function prototype double weightSummary(vector<double>); int main() { vector<double> list1; …
#include //For standard input output #include // For sprintf
#include <iostream> //For standard input output #include <cstdio> // For sprintf which nstead of being printed, #include <cstdlib> // FOr using sustem calls usin…
#include
#include <iostream> <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /?> #include <string> using namespace std; class counter { friend o…
#include int drawBar(int); int main() { std::cout
#include <iostream> int drawBar(int); int main() { std::cout << std::endl << "Let's Draw a triangle! "; //determine how many lines will be drawn int triangleBase…
#include int main () int a[2][3] = { {20, 30, 10}, {60, 80, 90}}; int
#include <iostream> int main () int a[2][3] = { {20, 30, 10}, {60, 80, 90}}; int row, col; for(row = 0; row < 2; ++row) { for(col = 0; col < 3; col++) cout << a[…
#include int main() { float val, sum, incr; int ok,num; ok = 0; while
#include <iostream> int main() { float val, sum, incr; int ok,num; ok = 0; while (!ok) { cout << "Enter an even number:"; cin >> num; if (num % 2 == 2) cout <…
#include int main() { float val, sum, incr;int ok,num; ok = 0; while
#include <iostream> int main() { float val, sum, incr;int ok,num; ok = 0; while (!ok) { cout << "Enter an evennumber: "; cin >> num; if (num % 2 == 2) cout <&…
#include int main() { float val, sum, incr;int ok,num; ok = 0; while
#include <iostream> int main() { float val, sum, incr;int ok,num; ok = 0; while (!ok) { cout << "Enter an evennumber: "; cin >> num; if (num % 2 == 2) cout <&…
#include int main() { int usersChoice = menu(); std::cout
#include <iostream> int main() { int usersChoice = menu(); std::cout << userdChoice << "You Choose "; return 0; } //end main int menu(void); { //displays a menu …
#include using namespace std ; char gameboard[ 10 ] = { \'o\' , \'1\'
#include <iostream> using namespace std; char gameboard[10] = {'o','1','2','3','4','5','6','7','8','9'}; char makeamovex(int, char); char makeamoveO(int, char); int winner()…
#include using namespace std int main() { int sum = 0; cout
#include <iostream> using namespace std int main() { int sum = 0; cout << "This program will add all the integers between 1 and N." <<endl; cout << "Please…
#include using namespace std; #define LPG (0.264179) double MilesPerG
#include <iostream> using namespace std; #define LPG (0.264179) double MilesPerGallon(double milesf, double litersf) { return (milesf*LPG/litersf); } void main() { double fl…
#include using namespace std; #define array_size 11 float add_values(
#include <iostream> using namespace std; #define array_size 11 float add_values(float the_array[array_size] );// this function now can use the array float edit_values(float …
#include using namespace std; #include #include #
#include <iostream> using namespace std; #include <fstream> #include <cstdlib> #include <string> struct person { string first, last; int score; }; int main…
#include using namespace std; #include\"queue\" template
#include <iostream> using namespace std; #include"queue" template <typename K, typename V> class AssociativeArray { struct Node { K key; V value; Node * next; }; Node …
#include using namespace std; /* Type your code here. */ int intSqrRo
#include <iostream> using namespace std; /* Type your code here. */ int intSqrRoot(int num) { int sq = 1;// square of count int count = 1;// increment count every iteraion c…
#include using namespace std; // FIXME (3) multiply function // FIXME
#include <iostream> using namespace std; // FIXME (3) multiply function // FIXME (5) divide function int main() { double num1 = 0.0; double num2 = 0.0; double prod = 0.0; //…
#include using namespace std; // Here are class and function definiti
#include <iostream> using namespace std; // Here are class and function definitions used in program: // This program does run!!! Indicate output for each numbered line. // I…
#include using namespace std; // Here are class and function definiti
#include <iostream> using namespace std; // Here are class and function definitions used in program: // This program does run! Indicate output (if any) for each numbered lin…
#include using namespace std; // Prototype int *expandArray(int[], in
#include <iostream> using namespace std; // Prototype int *expandArray(int[], int [], int); void showArray(int[], int); void main () { const int size = 5; int numbers[size] …
#include using namespace std; // This is a little practice with singl
#include <iostream> using namespace std; // This is a little practice with singly-linked lists // using the following structure: struct List { int val; struct List *next; };…
#include using namespace std; // This is a little practice with singl
#include <iostream> using namespace std; // This is a little practice with singly-linked lists // using the following structure: struct List { int val; struct List *next; };…
#include using namespace std; // This program demonstrates partially
#include <iostream> using namespace std; // This program demonstrates partially initialized structure variables // PLACE YOUR NAME HERE struct taxPayer { char name[25]; long…
#include using namespace std; // implementing the dynamic List ADT us
#include <iostream> using namespace std; // implementing the dynamic List ADT using Linked List class Node{ private: int data; Node* nextNodePtr; public: Node(){} void setDa…
#include using namespace std; //Display functions void calculateMean(
#include <iostream> using namespace std; //Display functions void calculateMean(double, double); void calculateStandardDeviation(double); void getLetterGrade(); //enter main…
#include using namespace std; //Function and Variables int getDigit(c
#include <iostream> using namespace std; //Function and Variables int getDigit(char); int main() { // User Instructions cout << "****************User Instructions*****…
#include using namespace std; //enumeration type enum triangleType {n
#include <iostream> using namespace std; //enumeration type enum triangleType {noTriangle, equilateral, isosceles,scalene}; //prototype of the function triangleType triangle…
#include using namespace std; //function prototypes int sum( int [],
#include <iostream> using namespace std; //function prototypes int sum(int [], int); int countNmbrsBigger(int [], int, int); int average(int [], int); int high(int [], int);…
#include using namespace std; //void function that accepts two argume
#include <iostream> using namespace std; //void function that accepts two arguments: int num1 and int num2 // returns in the third argument int greatest; the maximum between…
#include using namespace std; class A { public: virtual void f1() { c
#include <iostream> using namespace std; class A { public: virtual void f1() { cout << "f1 in A "; }    void f2() { cout << "f2 in A "; } }; class B : public A {…
#include using namespace std; class Bank_Transaction { public: Bank_T
#include <iostream> using namespace std; class Bank_Transaction { public: Bank_Transaction( ); //default constructor Bank_Transaction(double); double Check_Balance( ); void …
#include using namespace std; class CDAccount { public: CDAccount();
#include <iostream> using namespace std; class CDAccount { public: CDAccount(); CDAccount (double bal, double intRate, int T); double InterestRate (); double InitialBalance(…
#include using namespace std; class DogLicense{ public: void SetYear(
#include <iostream> using namespace std; class DogLicense{ public: void SetYear(int yearRegistered); void CreateLicenseNum(int customID); int GetLicenseNum() const; private:…
#include using namespace std; class Pair { public: Pair(); Pair (int
#include <iostream> using namespace std; class Pair { public: Pair(); Pair (int first, int second); Pair (int first); int accessFirst(); int accessSecond(); friend Pair oper…
#include using namespace std; class PersonData { private: string last
#include <iostream> using namespace std; class PersonData { private: string lastname; string firstname; string address; string city; string State; int zip; int phonenumber; …
#include using namespace std; class PersonInfo { public: void SetNumK
#include <iostream> using namespace std; class PersonInfo { public: void SetNumKids(int personsKids); void IncNumKids(); int GetNumKids() const; private: int numKids; }; voi…
#include using namespace std; class StringVar { public: StringVar(int
#include <iostream> using namespace std; class StringVar { public: StringVar(int size); StringVar(); StringVar(const char a[]); StringVar(const StringVar& string_object)…
#include using namespace std; class changeMaker{ public: int changeMa
#include <iostream> using namespace std; class changeMaker{ public: int changeMake(int amount, int n){ if(amount==0){ return 1; } if(n==1){ return 1; } if(amount<0){ retu…
#include using namespace std; class ticTacToe { public: ticTacToe();
#include <iostream> using namespace std; class ticTacToe { public:     ticTacToe();     void setBoard();     void printBoard();     bool determineWinner();     void moves();…
#include using namespace std; const double STATE_SALE_TAX = 0.02; con
#include <iostream> using namespace std; const double STATE_SALE_TAX = 0.02; const double COUNTRY_SALE_TAX = 0.04; int main () { double amtPurch; double stateTax; double cou…
#include using namespace std; const int MAX =5; //These functions exp
#include <iostream> using namespace std; const int MAX =5; //These functions explained below void spaces(); void introduction(); void input(intnumbers[]); void number(intnum…
#include using namespace std; const int MAX =8; //These functions exp
#include <iostream> using namespace std; const int MAX =8; //These functions explained below void spaces(); void introduction(); void a(intnumber[]); int main() { char respo…
#include using namespace std; const int MAXFLOOR = 15; class Elevator
#include <iostream> using namespace std; const int MAXFLOOR = 15; class Elevator { private: int currentFloor; public: Elevator(int = 1); void request(int); }; Elevator::Elev…
#include using namespace std; const int MAX_SIZE = 30; template
#include <iostream> using namespace std; const int MAX_SIZE = 30; template <class T> class List { private: struct Node { T data; Node *link; }; Node *head; Node *tail;…
#include using namespace std; const int limit = 5; int main(){ int nu
#include <iostream> using namespace std; const int limit = 5; int main(){      int number;      cin >> number;      while (number < limit) {           number++;    …
#include using namespace std; const int limit = 5; int main(){ int nu
#include <iostream> using namespace std; const int limit = 5; int main(){      int number;      cin >> number;      while (number < limit) {           number++;    …
#include using namespace std; double calcSale(double *earn) { double
#include <iostream> using namespace std; double calcSale(double *earn) { double earning, profit = 325.70, *newsale ;     *earn = 7000;    earning = earn + profit; newsale = …