Web development and programming
191828 questions • Page 130 / 3837
// I am trying to call a method called getGoodProvinceCode fromwithin another me
// I am trying to call a method called getGoodProvinceCode fromwithin another method called getPST. When l compile the program itsays pstmethod can not be applied to () . What doe…
// I am trying to do input validation for certain codes. Theproblem is that if l
// I am trying to do input validation for certain codes. Theproblem is that if l run my program it doesn't do the inputvalidation. It seems like l have everything right in my prog…
// I am trying to figure out how to sum up each 5 rows of numbers // then divide
// I am trying to figure out how to sum up each 5 rows of numbers // then divide by 5 to get the average, then get the average for the next // 5 numbers in the other row!! am I do…
// I am trying to follow the instructions with the sign (/**) below using C prog
// I am trying to follow the instructions with the sign (/**) below using C program, but I am doing something wrong. Can you cerrect what I have using the arrow (->) operator. …
// I don\'t necessarily completely understand this code. From my understanding,
// I don't necessarily completely understand this code. From my understanding, the buf2[] array is input by the user, and when being compared to buf1[], it is read in reverse and …
// I have the following code, but it doesn\'t work. #include #include
// I have the following code, but it doesn't work. #include <iostream> #include <cstring> #include <fstream> #include <stdio.h> #include <stdlib.h> u…
// I just want you to check this part of my code and tell me what i did wrong. I
// I just want you to check this part of my code and tell me what i did wrong. I'm in the process of learning singly // linked lists. when i test it I keep getting SEGMENTATION FA…
// I know it has something to do with the pointer (dereferencing it when I assig
// I know it has something to do with the pointer (dereferencing it when I assign 4 to ID) because it worked if I take it out. // Please help. I will give 5 stars for a clear answ…
// I need to have one constructor with no arguements and another constructor wit
// I need to have one constructor with no arguements and another constructor with // with tow arguements taxrate and price perinch assigns them to the appropriate member variables…
// INSTRUCTIONS // ------------ // Compile this code. You should see a happy-fac
// INSTRUCTIONS // ------------ // Compile this code. You should see a happy-face character on a field of // periods. You can move the character with the 'w', 'a', 's', and 'd' ke…
// I\'m having trouble figuring out my enqueue method. I\'m not sure if I\'m usi
// I'm having trouble figuring out my enqueue method. I'm not sure if I'm using the proper algorithm to copy the data from data[] into myArray[]. The header file is at the bottom …
// I\'m trying to get it to print {(1,2)(1,4)(2,1)(2,3)(3,2),(4,1)} #include usi
// I'm trying to get it to print {(1,2)(1,4)(2,1)(2,3)(3,2),(4,1)} #include using namespace std; struct Edge { int vertex1; int vertex2; }; int adjMat[4][4]; void insertEdge( Edge…
// IllinoisCities.java - This program prints a message for invalid cities in Ill
// IllinoisCities.java - This program prints a message for invalid cities in Illinois. // Input: Interactive. // Output: Error message or nothing. import javax.swing.*; public cla…
// In java public class NodeList { private int size = 0; private Node root = nul
// In java public class NodeList { private int size = 0; private Node root = null; /* * It has to take a new Node and add that to the beginning of the linked list. * If t…
// In rare cases a strange hexadecimal output could happen, // something like [I
// In rare cases a strange hexadecimal output could happen, // something like [I@2a139a55, in those cases just answer HEX // This is a working program, indicate output for each (2…
// Instructions: \\\\ // Part 1: Run the test code using the stl vector class. M
// Instructions: \ // Part 1: Run the test code using the stl vector class. Make sure you understand the output \ // and how the vector class works. \ // Part 2: Create your own v…
// IntegerAverage.cpp // Calculate the average of several integers. #include
// IntegerAverage.cpp // Calculate the average of several integers. #include <iostream> using namespace std; int main() { int value; // current value int count = 0; // numbe…
// Interface IReversable defines behavior Reverse() // Reverse is implemented di
// Interface IReversable defines behavior Reverse() // Reverse is implemented differently for a Soldier and a PhoneCall // Main program demonstrates an object of each type using S…
// IntroClasses2.cpp #include using namespace std; class Bank_Acct { public: Ban
// IntroClasses2.cpp #include using namespace std; class Bank_Acct { public: Bank_Acct( ); // default constructor Bank_Acct(double); double Check_Balance( ); void Deposit(double);…
// JAVA , A little fix on my code I need to changeMain.java to ask \"ENter the a
// JAVA , A little fix on my code I need to changeMain.java to ask "ENter the array size"and input all the element for it" // help me change Main.java thanks public class Selectio…
// Java code: class IntListElement { IntListElement(int value, IntListElement e)
// Java code: class IntListElement { IntListElement(int value, IntListElement e) { data = value; next = e; } IntListElement next; int data; } class Main1 { publi…
// Kardy Fong package futurevalueapp; import java.util.*; import java.text.*; pu
// Kardy Fong package futurevalueapp; import java.util.*; import java.text.*; public class FutureValueApp { public static void main(String[] args) { ArrayList<String> lis…
// LAB A // PAX, comments updated 3/30/17 for ATDCTL4 // INPUT: POT 0-5Vdc (PORT
// LAB A // PAX, comments updated 3/30/17 for ATDCTL4 // INPUT: POT 0-5Vdc (PORTAD channel 0, OUTPUT: LEDs 1-4 (PORT T UPPER NIBBLE) //This program demonstrates the use of the ADC…
// LAB B 340 wk5 // Freescale MC9s12g128 ATD using analog temp sensor input // u
// LAB B 340 wk5 // Freescale MC9s12g128 ATD using analog temp sensor input // using LCD dispaly for readout of temperature in Celsius // *** pax 4/1/2017 Code Warrior IDE ver 5.9…
// LAB52.cpp : Defines the entry point for the console application. // #include
// LAB52.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <iomanip> #include "math.h" using namespace std…
// Lab 11 Pre-Lab Assignment // Lab 11 Pre-Lab // Write a function that multipli
// Lab 11 Pre-Lab Assignment // Lab 11 Pre-Lab // Write a function that multiplies each element in the array "myArray" // by the variable "multiplyMe". #include <iostream> u…
// Lab 6_2 // CS 1113 Write a java program to simulate rolling of dice. Your cla
// Lab 6_2 // CS 1113 Write a java program to simulate rolling of dice. Your class name should be Lab6_2 Note: You need to use random numbers If you do not know how to use random …
// Lab 9 - Model class public class Cipher { private int key; // Constructor pub
// Lab 9 - Model class public class Cipher { private int key; // Constructor public Cipher(int k) { key = k; } // end Constructor public String encrypt(String…
// Lab Exercise 11.1 // EmployeesOne.cpp // This program stores, in an array, th
// Lab Exercise 11.1 // EmployeesOne.cpp // This program stores, in an array, the hours worked by // employees who all make the same hourly wage and then // prints a list of emplo…
// Lab Project 2 // Enter your name: #include #include #include using namespace
// Lab Project 2 // Enter your name: #include #include #include using namespace std; // complete the following three functions // The function InputBaseHeight will read the values…
// LetterE.java - This program prints the letter E with 3 asterisks // across an
// LetterE.java - This program prints the letter E with 3 asterisks // across and 5 asterisks down. // Input: None. // Output: Prints the letter E. public class LetterE { public s…
// Listing 2.25.cpp // A recursive function that returns the sum // of the first
// Listing 2.25.cpp // A recursive function that returns the sum // of the first n numbers in an array #include <iostream> using namespace std; int list[4]; int sum (int a[]…
// Looks up author of selected books import java.util.*; class DebugNine1 { publ
// Looks up author of selected books import java.util.*; class DebugNine1 { public static void main(String[] args) { Scanner input = new Scanner(System.in); String[][] books = new…
// Looks up author of selected books import java.util.*; class DebugNine1 { publ
// Looks up author of selected books import java.util.*; class DebugNine1 { public static void main(String[] args) { Scanner input = new Scanner(System.in); String[][] books = new…
// MergeSort(): sort the values in the data vector using a Merge Sort // data -
// MergeSort(): sort the values in the data vector using a Merge Sort // data - vector to be sorted // first & last - first and last indices to be sorted // (makes it possible…
// Money import java.util.Scanner; public class Money { public static void main(
// Money import java.util.Scanner; public class Money { public static void main(String[] args){ int employeeNumber; double hourlyWage, hoursWorked, hoursWorkedOvertime, totalPay; …
// Money import java.util.Scanner; public class Money { public static void main(
// Money import java.util.Scanner; public class Money { public static void main(String[] args){ int employeeNumber; double hourlyWage, hoursWorked, hoursWorkedOvertime, totalPay; …
// Move the indicated code into functions. #include using namespace s
// Move the indicated code into functions. #include <iostream> using namespace std; int main() { double jedi_level; int age; int weight; int mcc; // TODO - write a void func…
// My error checking is not working and I have been unable to figure out why? //
// My error checking is not working and I have been unable to figure out why? //driver.cpp #include "List.h" #include <iostream> using namespace std; int main(int argc, char…
// Name: // Section: public class Lab9 { public static void main(String[] args)
// Name: // Section: public class Lab9 { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int numInts = 0; int value = 0; // Declare SIZE_ARR, a fin…
// Need my program to loop until user wants to stop. This is what I have so far.
// Need my program to loop until user wants to stop. This is what I have so far. #include <iostream> using namespace std; // input function void Input (float &x, float &…
// Need to know what string to enter so that the explode(#) method calls never e
//Need to know what string to enter so that the explode(#) method calls never execute. I've tried string = "hUD6Cc8b" and during debugging I always run into the explode(10) || exp…
// Output the array so that 10 elements per line are printed. for(int r = 0; r
// Output the array so that 10 elements per line are printed. for(int r = 0; r < 5; r++) { for(int c = 0; c < 10; c++) System.out.print(alpha[r*10+c]+" "); System.out.printl…
// Overloaded method gives bonus points // whether grade is a number or letter u
// Overloaded method gives bonus points // whether grade is a number or letter using System; class DebugEight2 { public static void Main() { int numericScore = 82; …
// PLEASE READ THE QUESTION PROPERLY. i don\'t need a gui or i/o just a java sim
// PLEASE READ THE QUESTION PROPERLY. i don't need a gui or i/o just a java simple classes as stated below - ANY HELP WOULD BE GREATLY APPRECIATED! This question will test your sk…
// Passing arguments by-Value and using return types. #include using n
// Passing arguments by-Value and using return types. #include<iostream> using namespace std; // Constant factor converting feet to meters: 3.28 feet = 1 meter const double …
// Passing arguments by-Value and using return types. #include using n
// Passing arguments by-Value and using return types. #include<iostream> using namespace std; // Constant factor for gravitational acceleration const double GRAVITATION_CONS…
// Password.cpp // Write a while loop to be used to test a password. The passwor
// Password.cpp // Write a while loop to be used to test a password. The password is "secret" and the code within the loop is //executed until the user inputs the correct password…
// Phone.java // Program creates a GUI that resembles a phone with functionality
// Phone.java // Program creates a GUI that resembles a phone with functionality. import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.event.ActionEvent; impo…
// Please finish the missing fill me in java code. public static void main(Strin
// Please finish the missing fill me in java code. public static void main(String[] args) { // TODO Auto-generated method stub int[] intArray = { 3, 5, 9, 4, 10, 33, 12, 19, 4, 16…
Subject
Web development and programming
Use Browse or pick another subject.