472 Answered Questions for the topic programming
06/16/20
File Compression and multi-dimensional arrays
"Need a new c++ code done in Dev-C++ 5.11""Compiler set to configure TDM-GCC 4..9.2 64-bit Release"Scenario (need c++ coding)A simple matrix could be used to store data about images by using 1’s...
more
06/07/20
File Compression and multi-dimensional arrays
Scenario (need c++ coding)A simple matrix could be used to store data about images by using 1’s and 0’s to represent darkand light shades of color similar to a bitmap. You will find a file data.txt...
more
06/05/20
Matlab question
a) Write a MATLAB script that fits a straight line and to the data set given below and plots the given data as points(o) and fitted data as a line.d |15.5 33.07 53.39 140.24 301.03...
more
06/05/20
Matlab question
Let "f(x) = x^2 +x - 960"Write a MATLAB script that finds a root of the user-defined function using bisection method and gives the tabulated results in a .txt file.How can I solve this pleae ?
06/05/20
Matlab question NEED FOR HELPPP!!
Write a MATLAB function to solve the system of linear equations given below using matrix division. Make r an input to the function and x will be the output. ⌈ 5 2r r ⌉ { x1 } ...
more
06/05/20
Matlab question for professionals
a) Write a MATLAB script that fits a straight line and to the data set given below and plots the given data as points(o) and fitted data as a line.d |15.5 33.07 53.39 140.24 301.03...
more
06/05/20
Matlab question in complicated way..
Let "f(x) = x^2 +x - 960"Write a MATLAB script that finds a root of the user-defined function using bisection method and gives the tabulated results in a .txt file.How can I solve this pleae ?
06/03/20
File Compression and multi-dimensional arrays
ScenarioA simple matrix could be used to store data about images by using 1’s and 0’s to represent darkand light shades of color similar to a bitmap. You will find a file data.txt under your...
more
Programming C++
06/02/20
File Compression and multi-dimensional arrays Scenario
A simple matrix could be used to store data about images by using 1’s and 0’s to represent darkand light shades of color similar to a bitmap. You will find a file data.txt under your assignment3 on...
more
05/25/20
I can't make a my character move when I run my javascript (Intellij), what is wrong with my code?
package movement;
import processing.core.PApplet;
import processing.core.PImage;
public class LunasAdventures extends PApplet {
PImage moth;
PImage bg;
public static void...
more
05/23/20
Psuedeocode Question Help
In psuedeocode suppose you want to compute the average weight of a group of items. To do this, initialize cumulativeWeight to 0, count to 0, and more to ‘y’. Then enter a loop that repeats while...
more
05/17/20
read a student file into an array of structs, determine grades, sort the array and print it out.
Use the Student struct shown below.Read the input file and store the data in an array of structs. The input file contains student records and one heading line.Write code to determine the grade for...
more
Programming Computer Programming
05/12/20
program that can put a monsters stats into whatever file the user asks.
C++ program that can put a monsters stats into whatever file the user asks. Also, the user can ask to read in a monsters stats from whatever file they want as well.
Programming C++
05/12/20
practice using dynamic memory allocation, c-string functions,
Read a dictionary word file into an array of c-strings. You will need to dynamically allocate memory for each word in the dictionary. The word file contains 23,907 words.Sort the dictionary.Reading...
more
Programming Java
05/03/20
Needing help on Java
Create a Java GUI solution to the following scenario:Develop a set of classes for a business to use with various Employee functions. Create a Person class object that contains data members for...
more
05/01/20
Any java expert who knows the corecct answers for these?
Q1:charAt() is used to obtain a character at specified index?a)Trueb)FalesQ2:The java program is enclosed in a class definition ?a)Trueb)FalesQ3:The for loop repeats a set of statements a certain...
more
04/29/20
Plz help whats the correct answers for these java questions?(part2) ASAP!!
Q21:float is the type that denotes floating-point numbers that can have fractional parts?a)Trueb)FalesQ22:instance variables that are numbers are initialized to null default value?a)Trueb)FalesQ23:...
more
04/27/20
Online shopping cart
(1) Create three files to submit:
ItemToPurchase.h - Class declaration
ItemToPurchase.cpp - Class definition
main.cpp - main() function
Build the ItemToPurchase class with the following...
more
04/22/20
C++ code on odd and even number using vector
Create 2 Vectors using the For StatementVector 1 = will have ODD numbers from 1 to 99➔vec1 – vector nameVector 2 = will have EVEN numbers from 2 to 100➔vec2 – vector namePrint Vector 1 & 2 from...
more
04/20/20
How do I solve this program? The program is to find the prime factors of a number. The answer I keep getting is 0. If you need the directions respond.
import javax.swing.JOptionPane;public class FactorGeneratorTest{ public static void main(String[] args) { String input =JOptionPane.showInputDialog("Enter a positive number, (cancel to...
more
04/17/20
Find the maximum value and minimum value in milesTracker. Assign the maximum value to maxMiles, and the minimum value to minMiles.
Find the maximum value and minimum value in milesTracker. Assign the maximum value to maxMiles, and the minimum value to minMiles. Sample output for the given program:
Min miles: -10
Max miles:...
more
04/17/20
Write a loop that subtracts 1 from each element in lowerScores if the original element was greater than 0, and otherwise just assigns the element with 0.
Write a loop that subtracts 1 from each element in lowerScores if the original element was greater than 0, and otherwise just assigns the element with 0. Ex: lowerScores = {5, 0, 2, -3} becomes {4,...
more
04/17/20
Write a program that first gets a list of integers from input.
Write a program that first gets a list of integers from input. The input begins with an integer indicating the number of integers that follow. That list is followed by two more integers...
more
04/17/20
Write a program that reads a list of words. Then, the program outputs those words and their frequencies.
Write a program that reads a list of words. Then, the program outputs those words and their frequencies. The input begins with an integer indicating the number of words that follow. Assume that the...
more
04/17/20
Write a program that reads a list of integers, and outputs those integers in reverse.
Write a program that reads a list of integers, and outputs those integers in reverse. The input begins with an integer indicating the number of integers that follow. For coding simplicity, follow...
more
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.