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

#include struct time { int hh; int mm; int ss; }; struct date { int mm; int dd;
#include struct time { int hh; int mm; int ss; }; struct date { int mm; int dd; int yy; }; struct combined { struct date d; struct time t; }; struct combined nextSec(struct combin…
#include using class { public private }; int { DayOfYear today, bach_birthday; c
#include using class { public private }; int { DayOfYear today, bach_birthday; cout << today.input( ); cout << today.output( ); bach_birthday.set(3, 21); cout <<…
#include using namespace std; #include int main() { cout
#include using namespace std; #include int main() { cout << "What is your first name? "; string name; cin >> name; cout << "Nice to meet you " << name <…
#include using namespace std; bool isLeap(int); int dayNumber(int month,int day,
#include using namespace std; bool isLeap(int); int dayNumber(int month,int day,int year) { int count; if(isLeap(year) && month==2 && day==29) return 60; if(month=…
#include using namespace std; bool isLeap(int); int dayNumber(int month,int day,
#include using namespace std; bool isLeap(int); int dayNumber(int month,int day,int year) { int count; if(isLeap(year) && month==2 && day==29) return 60; if(month=…
#include using namespace std; bool isLeap(int); int dayNumber(int month,int day,
#include using namespace std; bool isLeap(int); int dayNumber(int month,int day,int year) { int count; if(isLeap(year) && month==2 && day==29) return 60; if(month=…
#include using namespace std; class Dumb { private: int a; public: Dumb() { a =
#include using namespace std; class Dumb { private: int a; public: Dumb() { a = 10; couta = obj.a + 1; cout a = right.a; cout << "Operator =" << endl; return *this; } …
#include using namespace std; class LIST_NODE { public: int data; // data elemen
#include using namespace std; class LIST_NODE { public: int data; // data element of node LIST_NODE *next; // pointer element of node }; class LINKED_LIST_CLASS { public: LINKED_L…
#include using namespace std; class matrix { public: int row,col,a[10][10]; publ
#include using namespace std; class matrix { public: int row,col,a[10][10]; public: matrix () { } matrix (int, int); friend ostream & operator<<(ostream& os, const m…
#include using namespace std; class stackN; class NodeS{ private: NodeS(int, Nod
#include using namespace std; class stackN; class NodeS{    private:        NodeS(int, NodeS*);        int data;        NodeS* next;        friend class stackN; friend ostream&amp…
#include using namespace std; class stackN; class NodeS{ private: NodeS(int, Nod
#include using namespace std; class stackN; class NodeS{    private:        NodeS(int, NodeS*);        int data;        NodeS* next;        friend class stackN; friend ostream&amp…
#include using namespace std; const int MAXNUMCARS100; class Car private: string
#include using namespace std; const int MAXNUMCARS100; class Car private: string m_make; string m_model; double m_earnedOnCar 1 all the money the car has earned public: hi class D…
#include using namespace std; const int SIZE=5; /*******************************
#include       using namespace std;       const int SIZE=5;       /*********************************************************************/       // Class declaraton for Array_Class…
#include using namespace std; const int TOTALYEARS = 100; int findCurrent (ageFr
#include using namespace std; const int TOTALYEARS = 100; int findCurrent (ageFrequency, ) int findCounter ( , ) int main() { int ageFrequency[TOTALYEARS]; // array with 100 eleme…
#include using namespace std; enum Months {JANUARY, FEBURARY, MARCH, APRIL, MAY}
#include using namespace std; enum Months {JANUARY, FEBURARY, MARCH, APRIL, MAY}; struct Weather { double totalRainfall; double HighTemp; double LowTemp; double AvgTemp; }; const …
#include using namespace std; int findMax_1(int pos1, int pos2); int getPositive
#include using namespace std; int findMax_1(int pos1, int pos2); int getPositive(); int findMax_2(int num1, int num2, int num3, int num4, int num5); int main() { int pos1, pos2, m…
#include using namespace std; int getPositive(); int main() { int pos1, pos2, ma
#include using namespace std; int getPositive(); int main() { int pos1, pos2, maxPos, pos; pos1 = getPositive(); pos2 = getPositive(); // call function to find max of pos1 and pos…
#include using namespace std; int main() { double withdrawal(double balance, dou
#include using namespace std; int main() { double withdrawal(double balance, double amount, int accountType); double deposit(double balance, double amount); void transfer(double &…
#include using namespace std; int main() { int numStudents; float numHours, tota
#include using namespace std; int main() { int numStudents; float numHours, total, average; int student,day = 0; // these are the counters for the loops cout << "This progra…
#include using namespace std; int main() { int value; // value is some positive
#include using namespace std; int main() { int value; // value is some positive number n int total = 0; // total holds the sum of the first n positive numbers int number; // the a…
#include using namespace std; int main() { int x = 123; cout
#include using namespace std; int main() { int x = 123; cout << x % 10 << endl; // line (a) cout << x / 10 << endl; // line (b) if (x > 50) cout <&lt…
#include using namespace std; int main() {int hours; char pack; double tot; cout
#include using namespace std; int main() {int hours; char pack; double tot; cout<<"Make a Selection "; cout<<"(A)Package A "; cout<<"(B)Package B "; cout<<…
#include using namespace std; int stringLength (const char* s) //returns the num
#include using namespace std; int stringLength (const char* s) //returns the number of printable characters in s int countChars (const chan s, const char ch) //returns the number …
#include using namespace std; int { main()//declare arrays char types[5] = {\'A\
#include using namespace std; int { main()//declare arrays char types[5] = {'A', 'B', 'C', 'D', 'E'}; int fees[5] = {100, 110, 125, 150, 200};//declare variables char memberType =…
#include using namespace std; int { main()//declare arrays char types[5] = {\'A\
#include using namespace std; int { main()//declare arrays char types[5] = {'A', 'B', 'C', 'D', 'E'}; int fees[5] = {100, 110, 125, 150, 200};//declare variables char memberType =…
#include using namespace std; struct noodle { int student; float gpa; noodle *ne
#include using namespace std; struct noodle { int student; float gpa; noodle *next; }; void insert(int item, float gpa1, noodle * &tail) ; void printlist(noodle *head); int ma…
#include using namespace std; typedef double* dblDynPtr; int main() { int n_days
#include using namespace std; typedef double* dblDynPtr; int main() { int n_days; //number of days the user will be observing int n_observe=3; //number of observations bool eighty…
#include using namespace std; vector split_string(string); // Complete the findM
#include using namespace std; vector split_string(string); // Complete the findMedian function below. int findMedian(vector arr) { } int main() { ofstream fout(getenv("OUTPUT_PATH…
#include using namespace std; void main() { int x = 0; int y = 0; char z = \' \'
#include using namespace std; void main() { int x = 0; int y = 0; char z = ' ' ; } void getHoursRate(double h, double r) { cout << "Input how many hours worked"; cin >&gt…
#include using namespace std; void main() { int x = 0; int y = 0; char z = \' \'
#include using namespace std; void main() { int x = 0; int y = 0; char z = ' ' ; } void getHoursRate(double h, double r) { cout << "Input how many hours worked"; cin >&gt…
#include using namespace std; void main() { int x = 0; int y = 0; char z = \' \'
#include using namespace std; void main() { int x = 0; int y = 0; char z = ' ' ; } void getHoursRate(double h, double r) { cout << "Input how many hours worked"; cin >&gt…
#include using namespace std; void main() { int x = 0; int y = 0; char z = \' \'
#include using namespace std; void main() { int x = 0; int y = 0; char z = ' ' ; } void getHoursRate(double h, double r) { cout << "Input how many hours worked"; cin >&gt…
#include using namespace std; void main() { int x = 0; int y = 0; char z = \' \'
#include using namespace std; void main() { int x = 0; int y = 0; char z = ' ' ; } void getHoursRate(double h, double r) { cout << "Input how many hours worked"; cin >&gt…
#include using namespace std; void main() { int x = 0; int y = 0; char z = \' \'
#include using namespace std; void main() { int x = 0; int y = 0; char z = ' ' ; } void getHoursRate(double h, double r) { cout << "Input how many hours worked"; cin >&gt…
#include using namespace std; void main() { int x = 0; int y = 0; char z = \' \'
#include using namespace std; void main() { int x = 0; int y = 0; char z = ' ' ; } void getHoursRate(double h, double r) { cout << "Input how many hours worked"; cin >&gt…
#include using namespace std;//Write a function to return a string composed of t
#include using namespace std;//Write a function to return a string composed of the most//frequent lowercase letter found in each row of a 10 times 10//array of lowercase alphabeti…
#include using namespace std;//Write a function to return a string composed of t
#include using namespace std;//Write a function to return a string composed of the most//frequent lowercase letter found in each row of a 10 times 10//array of lowercase alphabeti…
#include void set_flag(int* flag_holder, int flag_position); int check_flag(int
#include void set_flag(int* flag_holder, int flag_position); int check_flag(int flag_holder, int flag_position); int main(int argc, char* argv[]) { int flag_holder = 0; int i; set…
#include#include#include using namespace std; struct menuItemType { string menui
#include#include#include using namespace std; struct menuItemType { string menuitem[10]; double menuprice[10]; }; void showmenu(); void getdata(menuItemType &m, int &c); v…
#include#include//reading/writing to file using namespace std; //uses input.Dat,
#include#include//reading/writing to file using namespace std; //uses input.Dat, //create() IS ONLY FOR TESTING PURPOSES void create(){ int test[]={76,89,150,135,200,76,12,100,150…
#include using namespace std; void cocktailSort(int arr[], int n)
#include<bits/stdc++.h> using namespace std; void cocktailSort(int arr[], int n) { bool flag = true; int p = 0; int r = n-1; int swaps = 0; int comparison = 0; while (flag) …
#include using namespace std; void Capitalize(char *sentencePrt); void m
#include<cctype> using namespace std; void Capitalize(char *sentencePrt); void main() { const int size=30; char String1[size]; cout<<"Enter String up to (20)characters…
#include #include #include #include void a
#include<conio.h> #include<stdio.h> #include<string.h> #include<stdlib.h> void accept(); void result(); int no1=0,no2=0,sum=0,a[10],b[10],c[5],i=0,r1,r2,x,…
#include This is a hangman game. Can you help me make 8 functions out o
#include<conio.h> This is a hangman game. Can you help me make 8 functions out of this also make us it compiles good. #include<stdio.h> #include<string.h> #inclu…
#include #include using namespace std; int a[4]; class chang
#include<cstdlib> #include <iostream> using namespace std; int a[4]; class changeMaker{ public: double changeMake(int amount){     //Base Case     if(amount == 0)     …
#include int Word_count(char *); //Main function void main() {//Start m
#include<cstring> int Word_count(char *); //Main function void main() {//Start main      const int size=50;      char String1[size];//Holds string      int words;      //Inp…
#include #include int AD_volt=0; int position=0,BJT[4]={0xFE,0xFD
#include<io.h> #include<delay.h> int AD_volt=0; int position=0,BJT[4]={0xFE,0xFD,0xFB,0xF7}; int number=0,segment[10]={0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x9…
#include #include #include #include #
#include<iostream.h> #include<conio.h> #include<graphics.h> #include<stdlib.h> #include<dos.h> int graphics(int,int); int A,B,ctr=0,guess; int gd,gm;…
#include #include #include class string { private
#include<iostream.h> #include<conio.h> #include<string.h> class string { private: char string[30]; public: string() { strcpy(string,""); } void getstring() { cou…
#include #include class Temperature { private: double magni
#include<iostream.h> #include<conio.h> class Temperature { private: double magnitude; char scale; }; int main() { Temperature t1; cout<<sizeof(t1)<<endl;  …