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

#include #include #include using namespace std; /*
#include <cstdlib> #include <iostream> #include <cmath> using namespace std; /*             This program reads a width and height of a rectangle. It computes and…
#include #include #include #include usin
#include <cstdlib> #include <iostream> #include <fstream> #include <string> using namespace std; int main(int argc, char *argv[]) { void ReadMatrix(float […
#include #include #include using namespace std; c
#include <cstdlib> #include <iostream> #include <fstream> using namespace std; class PointType { private: int xc; int yc; public: void setpoint(int x, int y); in…
#include #include #include using namespace std; v
#include <cstdlib> #include <iostream> #include <iomanip> using namespace std; void initialize (int a [4][5]); void print (int my_arr [4][5]); void zero_all (int…
#include #include #include #include #incl
#include <cstdlib> #include <iostream> #include <math.h> #include <vector> #include <utility> #include <fstream> using namespace std; typedef u…
#include #include #include #include #defin
#include <cstdlib> #include <iostream> #include <vector> #include <ctime> #define RAND_MAX = 40000; using namespace std; //functions vector<int> inse…
#include #include using namespace std; const string face[]
#include <cstdlib> #include <iostream> using namespace std; const string face[] = { "Ace", "2", "3", "4", "5", "6", "7",   "8", "9", "10", "Jack", "Queen", "King" }; c…
#include #include using namespace std; int main(int argc, c
#include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv[]) { char letter; int count = 0; char response; do { cout << "Enter the…
#include using namespace std; void catFun(char [], char [], char []);
#include <cstring> using namespace std; void catFun(char [], char [], char []); //learned inclass Monday int cmp(char [], char [], char []); // functionprototype int main() …
#include #include #include \"Point.h\" template T
#include <exception> #include <string> #include "Point.h" template <class T> T operator*(const Point<T>& p1, const Point<T>& p2) { return p1.…
#include #include #include #include
#include <fcntl.h> #include <unistd.h> #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <string.h> #include <stdlib.…
#include #include #include #include
#include <fcntl.h> #include <unistd.h> #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <string.h> #include <stdlib.…
#include #include #include #include
#include <fcntl.h> #include <unistd.h> #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <string.h> #include <stdlib.…
#include #include #include using namespace std; /
#include <fstream> #include <iostream> #include <iomanip> using namespace std; // Declaring global arrays and variables string lastnames[40]; int scores[40][5]; …
#include #include #include #include usin
#include <fstream> #include <iostream> #include <sstream> #include <string> using namespace std; //function to read tempratures from file to array void rea…
#include #include #include #include using
#include <fstream> #include <iostream> #include <string> #include <string> using namespace std; int main() { ifstream inFile; ofstream outFile; string elem…
#include #include using namespace std; // Erik Donovan cons
#include <fstream> #include <iostream> using namespace std; // Erik Donovan const int MAXNAME = 20; int main() { ifstream inData; inData.open("grades.txt"); char name[…
#include #include using namespace std; // Global constants
#include <fstream> #include <iostream> using namespace std; // Global constants const int MAX_EMPLOYEE_NUMBER = 100; const char CS_INPUT_FILE_NAME[] = "hours.txt"; con…
#include using std::ifstream; #include using std::setprecisi
#include <fstream> using std::ifstream; #include <iomanip> using std::setprecision; using std::ios; #include <cmath> #include <cstring> #include <cstdli…
#include using namespace std; class TwoDPoint { protected: int x; in
#include <iostream.>              using namespace std; class TwoDPoint {   protected:     int x;     int y;   public:     TwoDPoint(int x, int y) { this->x = x; this->…
#include // input output stream header file #include // s
#include <iostream.h>   // input output stream header file #include <stdio.h>   // standard input output header file #include <stdlib.h>     // standard library …
#include float scramble (int *a, int n) { for (bool fini=false; !fi
#include <iostream.h> float scramble (int *a, int n) { for (bool fini=false; !fini;) { fini = true; for (int i=0; i<(n-1); i++) { if ( *(a+i) > *(a+i+1)) { int tmp = *…
#include float scramble (int *a, int n) { for (bool fini=false; !fi
#include <iostream.h> float scramble (int *a, int n) { for (bool fini=false; !fini;) { fini = true; for (int i=0; i<(n-1); i++) { if ( *(a+i) > *(a+i+1)) { int tmp = *…
#include using namespace std; double computeAverage(double inputs[]
#include <iostream.h> using namespace std; double computeAverage(double inputs[]); bool isValidInput(double input); int main() { double arrInput[10]; double average; int tri…
#include #if LAB6_TEST1 # include \"StackLinked.h\" #else # include \
#include <iostream> #if LAB6_TEST1 # include "StackLinked.h" #else # include "StackArray.h" #endif //-------------------------------------------------------------------- boo…
#include #include // Provides swap #include //
#include <iostream> #include <algorithm> // Provides swap #include <cstdlib> // Provides EXIT_SUCCESS, size_t #include <iostream> // Provides cout and cin …
#include #include #include \"pointerDataClass.h\" using nam
#include <iostream> #include <cassert> #include "pointerDataClass.h" using namespace std; void pointerDataClass::print() const { cout<<"x = "<<x<<end…
#include #include using namespace std; double findMax(doubl
#include <iostream> #include <cassert> using namespace std;    double findMax(double a[ROWS][COLS]) { int biggest = a[0][0]; for (int i = 0; i < ROWS; ++i) { for (i…
#include #include #include #include #in
#include <iostream> #include <cctype> #include <algorithm> #include <string> #include <map> #include <iomanip> #include <fstream> #includ…
#include #include #include #include #in
#include <iostream> #include <cctype> #include <algorithm> #include <string> #include <map> #include <iomanip> #include <fstream> #includ…
#include #include #include #include #incl
#include <iostream> #include <cctype> #include <cstdio> #include <cstring> #include <cstdlib> #include <cmath> using namespace std; int main ( …
#include #include using namespace std; void displaymenu(); /
#include <iostream> #include <cctype> using namespace std; void displaymenu(); //int count_vowels(char *str); int main() {     string sentence;     int a = 0;     int …
#include #include #include #include #defin
#include <iostream> #include <cmath> #include <ctime> #include <stdlib.h> #define INTERVAL 1000; double random_double_generator(); using namespace std; dou…
#include #include #include using namespace std; //
#include <iostream> #include <cmath> #include <fstream> using namespace std; // Function prototypes int getLowest(int [], int); int getHighest(int [], int); int …
#include #include #include const int NUMBER_OF_PLAN
#include <iostream> #include <cmath> #include <iomanip> const int NUMBER_OF_PLANTS = 4; void input_data(int a[], int last_plant_number); void scale(int a[], int …
#include #include #include const int NUMBER_OF_PLAN
#include <iostream> #include <cmath> #include <iomanip> const int NUMBER_OF_PLANTS = 4; void input_data(int a[], int last_plant_number); void print_asterisks(int…
#include #include #include using namespace std; //
#include <iostream> #include <cmath> #include <iomanip> using namespace std; // Declare Variables int main() { // Programs Greetings cout << "This program …
#include #include #include using namespace std; cla
#include <iostream> #include <cmath> #include <iomanip> using namespace std; class Circle { public: int r; int cenx; int ceny; public: void SetRadius(double); vo…
#include #include #include using namespace std; int
#include <iostream> #include <cmath> #include <iomanip> using namespace std; int calcavg(int []); int variance( int[]); int main() { {int val[14] = { 89,95,75,83…
#include #include #include using namespace std; voi
#include <iostream> #include <cmath> #include <iomanip> using namespace std; void func1(); void func2(/*formal parameters*/); int main() { int num1, num2; double…
#include #include using namespace std; // a structure to repr
#include <iostream> #include <cmath> using namespace std; // a structure to represent a point in 2D , the x and y co-ordinates class Point {    double x;    double y; …
#include #include using namespace std; //Display functions vo
#include <iostream> #include <cmath> using namespace std; //Display functions void calculateMean(double, double); void calculateStandardDeviation(double,double, double…
#include #include using namespace std; int main() { double to
   #include <iostream> #include <cmath> using namespace std; int main() { double total =0; int entry; cout << "Please input your n value for pi approximation " &…
#include #include using namespace std; int main() { int grade
#include <iostream> #include <cmath> using namespace std; int main() { int grade, score; cout << "enter you grade"<< endl; cout << " 1 = A, 2 = B, 3 …
#include #include using namespace std; int main(){ int b[8][8
#include <iostream> #include <cmath> using namespace std; int main(){ int b[8][8] = {0}; //Setting up the board in 2D int r, c=0; //Initial value of row and column are…
#include #include using namespace std; void get_input(double
#include <iostream> #include <cmath> using namespace std; void get_input(double side_a, double side_b, double side_c); bool check_triangle(double side_a, double side_b…
#include #include #include #include #incl
#include <iostream> #include <cstdlib> #include <cstdio> #include <cctype> #include <ctime> #include <iomanip> using namespace std; int randcha…
#include #include #include using namespace std; #de
#include <iostream> #include <cstdlib> #include <ctime> using namespace std; #define GAMESIZE 5 enum type { STAR=42, ATTHERATE=64 }; //Method to initialize the m…
#include #include #include using namespace std; //e
#include <iostream> #include <cstdlib> #include <ctime> using namespace std; //enum data type enum BOARD{ star = 1, rateSym = 2}; //define the board size const i…
#include #include #include using namespace std; s
#include <iostream> #include <cstdlib> #include <fstream> using namespace std; string jumbleWord(string word) { int count = rand() % 5 ; if(word.length() > 3)…