Web development and programming
191828 questions • Page 134 / 3837
// find all primes < 1Musing BRUTE FORCE, checking // ALL whole numbers less tha
// find all primes < 1Musing BRUTE FORCE, checking // ALL whole numbers less than square root as possible // factors of 'n' public class Lab1 { staticintc=0; …
// guys how come my program is not printing the. I also don\'tunderstand why it
// guys how come my program is not printing the. I also don'tunderstand why it is not printing the last 5 values of my array Theother thing is how can l make it print every tenth …
// guys l don\'t understand why l am getting an error message inmy program. impo
// guys l don't understand why l am getting an error message inmy program. import javax.swing.*; public class CramsterA4Q1 { // open public class …
// hangman.cpp // Hangman game illustrates string library functions, // characte
// hangman.cpp // Hangman game illustrates string library functions, // character arrays, arrays of pointers, etc. #include <iostream> #include <cstdlib> #include <…
// header file section #include #include #include us
// header file section #include <iostream> #include<string> #include<stdio.h> using namespace std; //function prototypes int Vowel_count(char *str); int Consonan…
// i don\'t understand why this program continues running. It doesnot stop. What
// i don't understand why this program continues running. It doesnot stop. What maybe wrong with it ? import javax.swing.*; public class ArrayDemo9 // Compare arrays { public …
// i get it to display the random chart of numbers but their is a weird number a
// i get it to display the random chart of numbers but their is a weird number and its not sorting from highest to lowest please help. //Thank you //8.4 // #include #include #incl…
// i need a simple calculator, see my code below and plz use the original format
// i need a simple calculator, see my code below and plz use the original format. import javax.swing.*; import java.awt.*; import java.awt.event.*; public class MyGuiApplet extend…
// i need help with the program below. i have to convert celsius to fahrenheit.
// i need help with the program below. i have to convert celsius to fahrenheit. the it has to be written in java programmingm and the software that im using is dr java. import jav…
// i need help with this program below. i have to organize the top scores that a
// i need help with this program below. i have to organize the top scores that are listen within the program, the scores are in the line that reads int [] grades = {78, 88, 97, 75…
// implementation for class aCoin #include #include #include #include \"aCoin.h\
// implementation for class aCoin #include #include #include #include "aCoin.h" #include "aRandomNumberGenerator.h" using namespace std; // constructor aCoin::aCoin(aRandomNumberG…
// import statements import javax.swing.*; import java.awt.*; import java.awt.ev
// import statements import javax.swing.*; import java.awt.*; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; // declare the class and make it a JApplet p…
// in C++ Redo using a switch for selecting mathOpeator (The outer if - else if)
// in C++ Redo using a switch for selecting mathOpeator (The outer if - else if) #include using namespace std; int main(){ double operand1, operand2, result; char mathOperator; bo…
// in this program l want to return an integer in the form of 00007 not just 7 b
// in this program l want to return an integer in the form of 00007 not just 7 because this will produce errors when l use that number to do other calculations. How can this be do…
// insertSort.java // demonstrates insertion sort // to run this program: C>java
// insertSort.java // demonstrates insertion sort // to run this program: C>java InsertSortApp //-------------------------------------------------------------- class ArrayIns {…
// insertSort.java // demonstrates insertion sort // to run this program: C>java
// insertSort.java // demonstrates insertion sort // to run this program: C>java InsertSortApp //-------------------------------------------------------------- class ArrayIns {…
// inside the Music class, you DON\'T NEED THIS (but use as a model): public int
// inside the Music class, you DON'T NEED THIS (but use as a model): public int compareTo(Music param) { int result = composer.compareToIgnoreCase(param.composer); if( r…
// lab 4.3.cpp : Defines the entry point for the console application. // #includ
// lab 4.3.cpp : Defines the entry point for the console application. // #include <stdio.h> #include "stdafx.h" #include "stdlib.h" # include "assert.h" int main ( int argc …
// main program // Repeatedly plays any number of hands of Blackjack, // until p
// main program // Repeatedly plays any number of hands of Blackjack, // until player runs out of money, or voluntarily leaves the game // The deck is shuffled periodically when i…
// main public class AssignmentThree { public static void main(String[] args) {
// main public class AssignmentThree { public static void main(String[] args) { List myList = new List(15); // Cause List Empty Message myList.re…
// make sure code is in mips assembly and please make sure the whole program is
// make sure code is in mips assembly and please make sure the whole program is complete thank you. please show output thanks. Write a program for a grocery store to calculate the…
// method: fileRead(String s) // purpose: opens up file s and reads (output to t
// method: fileRead(String s) // purpose: opens up file s and reads (output to the screen)– one int per line // void fileRead(Strin…
// my size is not decreasing when I erase a record. //dvr_hwch.cpp #include
// my size is not decreasing when I erase a record. //dvr_hwch.cpp #include <iostream> #include <iomanip> #include <cassert> using namespace std; #include "hash_…
// mycopy.c /* mycopy utility * makes a copy of a file and assigns the same file
// mycopy.c /* mycopy utility * makes a copy of a file and assigns the same file * permissions to the copy * Usage: * ./mycopy <name of original file> <name of copy> *…
// mycopy.c /* mycopy utility * makes a copy of a file and assigns the same file
// mycopy.c /* mycopy utility * makes a copy of a file and assigns the same file * permissions to the copy * Usage: * ./mycopy <name of original file> <name of copy> *…
// n is a non-negative integer function f(n) if n == 0 || n == 1 return 1; else
// n is a non-negative integer function f(n) if n == 0 || n == 1 return 1; else return n*f(n-1); Respond to the following: What does the f function do? Please provide a detailed r…
// need help with following program. Assignment 10 Class should be good LinkedLi
// need help with following program. Assignment 10 Class should be good LinkedList Class is the only one that should be modified. Please See below // Description: The Assignment 1…
// new class the \"Old Maid\" card game In order to do our impler entation of th
// new class the "Old Maid" card game In order to do our impler entation of the card gaue, we need to use a Java valent for Python's lists. We are going to use array As you know, …
// package class import java.util.Random; public class Package { private double
// package class import java.util.Random; public class Package { private double packageNum; public double weight; private double air; private double ground; private…
// please use c++ and read instructions carefully 1) Write a program that reads
// please use c++ and read instructions carefully 1) Write a program that reads 20 names from a file called names.dat and stores them in two different arrays (eg names1, names2). …
// please use c++ for visual studio 1) Write a program that reads 20 names from
// please use c++ for visual studio 1) Write a program that reads 20 names from a file called names.dat and stores them in two different arrays (eg names1, names2). 2) Print the u…
// pointers converted from array // convert this program from using arrays to us
// pointers converted from array // convert this program from using arrays to using pointers to arrays #include <iostream> #include <iomanip> using namespace std; // F…
// pointers showing address and values in an array // This program shows the val
// pointers showing address and values in an array // This program shows the value and the address of each element in the array. Use pointer notation. /* Here are the values in th…
// recursive power , compute xn int exp(int x, int n){ if(n==_______) return ___
// recursive power , compute xn int exp(int x, int n){ if(n==_______) return _________; return ____________*exp(_________); } void main(){ int a,b; cin >>a>>b; cout<…
// return the passcode public String getPasscode(){ //Random rnd = new Random();
// return the passcode public String getPasscode(){ //Random rnd = new Random(); //String passcode4digit = rnd.nextInt(10) + “” + rnd.nextInt(10) + “” + // rnd.nextInt(10) + “” + …
// reverse.cpp // Reverse the digits of a number. #include #include
// reverse.cpp // Reverse the digits of a number. #include <iostream> #include <iomanip> using namespace std; /* Write prototype for reverseDigits */ int main() { int …
// right now my changeKey() method search it index n log n. How can I make this
// right now my changeKey() method search it index n log n. How can I make this more efficient, I want to search log n times. Please help. import java.util.ArrayList; import java.…
// save as passtest.java and run import java.util.Scanner; class passtest { stat
// save as passtest.java and run import java.util.Scanner; class passtest { static boolean validpass(String p) { int count = 0; if(p.length()>=8) { for(int i=0; i<p.length()…
// setprice per item public void setPricePerItem ( double price ) { pricePerItem
// setprice per item public void setPricePerItem( double price ){ pricePerItem = ( price <0.0) ? 0.0 :price; //validate price} // endmethod setPricePerItem Based off this …
// the Node class class Node { private int data; private Node link; // construct
// the Node class class Node { private int data; private Node link; // constructor public Node() { this.data = 0; this.link = null; } // accessor and mutator for the data componen…
// the adjustHeights method updates the heights of every ancestor of the node n.
// the adjustHeights method updates the heights of every ancestor of the node n. // This method will be massively useful with our next lab, so make sure you have // this working n…
// the logic works but I cannot calle the data back from the latter function //p
// the logic works but I cannot calle the data back from the latter function //please find a solution to use that pointer to retrieve the infomation to the main function. Thank yo…
// this works for odd n #include #include // NOTE: This progr
// this works for odd n #include <iostream> #include<vector> // NOTE: This program uses the vector container from the stl. using namespace std; void main(){ vector<…
// ticTacShell.c // // Shell of the game \'TicTacToe\' for CpSc 1010/1011 // #in
// ticTacShell.c // // Shell of the game 'TicTacToe' for CpSc 1010/1011 // #include <stdio.h> #include <stdlib.h> // rand(), srand() #include <time.h> // time() …
// ticTacShell.c // // Shell of the game \'TicTacToe\' for CpSc 1010/1011 // #in
// ticTacShell.c // // Shell of the game 'TicTacToe' for CpSc 1010/1011 // #include <stdio.h> #include <stdlib.h> // rand(), srand() #include <time.h> // time() …
// tree.java // demonstrates binary tree // to run this program: C>java TreeApp
// tree.java // demonstrates binary tree // to run this program: C>java TreeApp import java.io.*; import java.util.*; // for Stack class ///////////////////////////////////////…
// tree.java // demonstrates binary tree // to run this program: C>java TreeApp
// tree.java // demonstrates binary tree // to run this program: C>java TreeApp import java.io.*; import java.util.*; // for Stack class ///////////////////////////////////////…
// trying to do implement * operator// /main.c/ #include #include
// trying to do implement * operator// /main.c/ #include <iostream> #include <string>com #include <istream> #include <ostream> #include <fstream> #in…
// visual studio C++ // Divide by classes. Parameters and return types of each f
// visual studio C++ // Divide by classes. Parameters and return types of each function and class member function should be decided in advance. The program will be best implemente…
// we can not find the mistke in this code.. that was a simple code but we are a
// we can not find the mistke in this code.. that was a simple code but we are amking a mistake in the class, i think.. can you give the correct form of this code. public class pa…
Subject
Web development and programming
Use Browse or pick another subject.