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

#include #include using namespace std; // Functions Prototy
#include <iostream> #include <fstream> using namespace std; // Functions Prototype void jokeFile(fstream &); void punchFile(fstream &); int main() { // Create …
#include #include using namespace std; // This program decl
#include <iostream> #include <fstream> using namespace std; // This program declares a class called Inventory that has itemnNumber (which // contains the id number of …
#include #include using namespace std; //------------------
#include <iostream> #include <fstream> using namespace std; //------------------------------------------------------------------- // Function Prototypes //------------…
#include #include using namespace std; bool LeapYear(int ye
#include <iostream> #include <fstream> using namespace std; bool LeapYear(int year); int Convert_to_Julian ( int, int,int); int main() { int month, day, year; cin>&…
#include #include using namespace std; class CDAccount { pu
#include <iostream> #include <fstream> using namespace std; class CDAccount { public: CDAccount(); //defaultconstructor CDAccount (int new_dollars,intnew_cents,double …
#include #include using namespace std; class Car { protecte
#include <iostream> #include <fstream> using namespace std; class Car { protected:     int carNumber;     bool loaded;     string reportingMark, kind, destination; pub…
#include #include using namespace std; int main() { char ch
#include <iostream> #include <fstream> using namespace std; int main() { char ch; fstream dataFile ("sentence.txt", ios::out); cout << "Type a sentence and be su…
#include #include using namespace std; int main() { ifstrea
#include <iostream> #include <fstream> using namespace std; int main() { ifstream infile; string word[10]; char space = 32; char letters[100]; int counter = 1; int cou…
#include #include using namespace std; int main() { int num
#include <iostream> #include <fstream> using namespace std; int main() {     int num, sum = 0, i = 0;     ifstream infile;     infile.open ("infile-5-B-2.txt"); cout &…
#include #include //This library is for reading and writing
#include <iostream> #include <fstream>//This library is for reading and writing files #include <cstdlib>//Used this library because I used the exit command using…
#include #include using namespace std; add another member me
#include <iostream> #include <imanip> using namespace std; add another member method names convert() to this program that does the following: the method should access …
#include #include #define _USE_MATH_DEFINES #include
#include <iostream> #include <iomanip> #define _USE_MATH_DEFINES #include <cmath> using namespace std; int main() {    float v0, v0x, v0y, angle, g=9.81; //ahy q…
#include #include #include using namespace std; //
#include <iostream> #include <iomanip> #include <cmath> using namespace std; // function prototypes // ENTER FUNCTION PROTOTYPE FOR normalize() HERE. double norm…
#include #include #include #include \"aRandomNumb
#include <iostream> #include <iomanip> #include <cstdlib> #include "aRandomNumberGenerator.h" using namespace std; int main() { aRandomNumberGenerator number(110…
#include #include #include #include usin
#include <iostream> #include <iomanip> #include <fstream> #include <string> using namespace std int main () { char file [20]; cout << "Enter File Nam…
#include #include #include #include usin
#include <iostream> #include <iomanip> #include <fstream> #include <string> using namespace std; struct Entry {        string name, quantity, notes; }; Ent…
#include #include #include using namespace std; c
#include <iostream> #include <iomanip> #include <fstream> using namespace std; const int STAR_FACTS = 5; const int PREF_WIDTH = 23; void PrintMenu(string fileNam…
#include #include #include #include #inc
#include <iostream> #include <iomanip> #include <string> #include <fstream> #include <cmath> using namespace std; const int PERSONS = 4; const int SA…
#include #include #include #include usin
#include <iostream> #include <iomanip> #include <string> #include <fstream> using namespace std; const int MAX = 50; enum {ADD = 1, SEARCH, PRINT, EXIT}; i…
#include #include #include #include #incl
#include <iostream> #include <iomanip> #include <string> #include <vector> #include <fstream> #include "Student.h" #include "ASUCourse.h" using names…
#include #include #include #include using
#include <iostream>#include <iomanip>#include <string>#include <vector>using namespace std;// FUNCTION PROTOTYPES GO HERE:void init_vectors(vector<char&…
#include #include #include using namespace std; in
#include <iostream> #include <iomanip> #include <string> using namespace std; int barTocode(string bCode) {       if (bCode == "||:::")    {        return 0;    …
#include #include #include \"TicTacToe.h\" using namespace
#include <iostream> #include <iomanip> #include "TicTacToe.h" using namespace std; TicTacToe::TicTacToe() { for (int j = 0; j < 3; j++) for (int k = 0; k < 3; k+…
#include #include #include \"fractionType.h\" using namespa
#include <iostream> #include <iomanip> #include "fractionType.h" using namespace std; int main() { fractionType num1(5, 6); //Line 1 fractionType num2; //Line 2 fracti…
#include #include int main() { const short arraySize = 10;
#include <iostream> #include <iomanip> int main() { const short arraySize = 10; short arr [ arraySize ] = { 2, 6, 4, 8, 10, 12, 89, 68, 45, 37 }; short hold; std::cout…
#include #include using namespace std; // This program demo
#include <iostream> #include <iomanip> using namespace std; // This program demonstrates how to use an array of structures // PLACE YOUR NAME HERE // Fill in code to d…
#include #include using namespace std; // This program uses
#include <iostream> #include <iomanip> using namespace std; // This program uses a structure to hold data about a rectangle // It calculates the area and perimeter of …
#include #include using namespace std; // This program uses
#include <iostream> #include <iomanip> using namespace std; // This program uses a structure to hold data about a rectangle // It calculates the area and perimeter of …
#include #include using namespace std; // This program will
#include <iostream> #include <iomanip> using namespace std; // This program will demonstrate the scope rules. // PLACE YOUR NAME HERE const double PI = 3.14; const dou…
#include #include using namespace std; // This program will
#include <iostream> #include <iomanip> using namespace std; // This program will demonstrate the scope rules. // PLACE YOUR NAME HERE const double PI = 3.14; const dou…
#include #include using namespace std; // This program will
#include <iostream> #include <iomanip> using namespace std; // This program will demonstrate the scope rules. // PLACE YOUR NAME HERE const double PI = 3.14; const dou…
#include #include using namespace std; // Your processTarge
#include <iostream> #include <iomanip> using namespace std; // Your processTargetHeartRate function goes here int processTargetHeartRate(int age) {    int bpm;    cout…
#include #include using namespace std; // create a function
#include <iostream> #include <iomanip> using namespace std; // create a function to print only the contents of the odd subscripts // of array x; the numbers must be pr…
#include #include using namespace std; //Function prototype
#include <iostream> #include <iomanip> using namespace std; //Function prototypes void printDescription(); float computeGrossPay(float, int); float computeNetPay(float…
#include #include using namespace std; //declaring and init
#include <iostream> #include <iomanip> using namespace std; //declaring and initializing your constant variables// const float PERSON_WT=170.0; const float LBS_PER_GAL…
#include #include using namespace std; const int NUM=4; int
#include <iostream> #include <iomanip> using namespace std; const int NUM=4; int main() { //This is for printing money in the proper format cout << setprecision(…
#include #include using namespace std; double calculate(int
#include <iostream> #include <iomanip> using namespace std; double calculate(int, double); int main() { int product, quantity,error; double total = 0.0,price; cout &lt…
#include #include using namespace std; double const PI = 3.
#include <iostream> #include <iomanip> using namespace std; double const PI = 3.141592; void getDataa(double base, double height); void getData(double radiusa, double …
#include #include using namespace std; int ArrayI(int Array
#include <iostream> #include <iomanip> using namespace std; int ArrayI(int ArrayM[], int size); const int size=8; int main() { int max; int ArrayM[size]; max = ArrayI(…
#include #include using namespace std; int main () { int pa
#include <iostream> #include <iomanip> using namespace std; int main () { int pause; double a; //original loan amount double r; // annually compounded interest rate, f…
#include #include using namespace std; int main () { int si
#include <iostream> #include <iomanip> using namespace std; int main () { int size; int count(1); int square[99][99]; int i, j; int row,cols; do { cout << "Enter…
#include #include using namespace std; int main() { //decla
#include <iostream> #include <iomanip> using namespace std; int main() { //declare the store in array int store[10]; //using for loop, get the sales for store from use…
#include #include using namespace std; int main() { const i
#include <iostream> #include <iomanip> using namespace std; int main() { const int Months = 12; int rain; int values[Months]; double total = 0; double avg; int largest…
#include #include using namespace std; int main() { const i
#include <iostream> #include <iomanip> using namespace std; int main() { const int Months = 12; int rain; int values[Months]; double total = 0; double avg; int largest…
#include #include using namespace std; int main() { int acc
#include <iostream> #include <iomanip> using namespace std; int main() { int accountNumber; float minimumBalance, currentBalance; char accountType; const float SAVINGS…
#include #include using namespace std; int main() { int sco
#include <iostream> #include <iomanip> using namespace std; int main() { int score[12]; int Lab[12]; int index; for (index=1; index<13;index++) { cout<<" Ente…
#include #include using namespace std; int main() { int ula
#include <iostream> #include <iomanip> using namespace std; int main() {                 int ulam_num;                 cout << "Please enter an integer greater t…
#include #include using namespace std; void Fill2DArray(int
#include <iostream> #include <iomanip> using namespace std; void Fill2DArray(int [][15], int, int); void Print2DArray(int[][15], int, int); void LinearSearch (int[][15…
#include #include #define PI 3.141592654 using namespace std
#include <iostream> #include <math.h> #define PI 3.141592654 using namespace std; int main() { double op1; double op2; int choice1,choice2,choice3; char op; char rd; d…
#include #include #include #include #include
#include <iostream> #include <memory> #include <string> #include <map> #include <vector> #include <queue> #include <sstream> using namesp…