1,486 Answered Questions for the topic computer programming
05/07/21
Given an array declaration of salaries in thousands of dollars, int [] salaries = {20,95, 77,56, 83} The a=index at which the salary 56 is found is
Given an array declaration of salaries in thousands of dollars, int [] salaries = {20,95, 77,56, 83}The a=index at which the salary 56 is found is
05/07/21
Is it True That; Here is a program that tries to change the value of one the element of an array by passing the array to a changeNames method:
Here is a program that tries to change the value of one the element of an array by passing the array to a changeNames method:Is This True? The output of this program is[Alison, Biance, Cody,...
more
05/07/21
Is the following TRUE? Given the following quadrant method below: This method returns which quadrant of the x/y plane this Point object falls in?
Given the following quadrant method to the Point class:
public class Point {
private int x;
private int y;
public int quadrant(){ if (x >0) return 1 if (x<0) return 2; if (y>0)...
more
05/07/21
Write a main program in a class called SquareMain.java that instantiates two square objects called s1 and s2.
Write a main program in a class called SquareMain.java that instantiates two square objects called s1 and s2.Perform the following actions on s1 and s2 using methods of the Square classCreate s1...
more
05/07/21
Here is a UML diagram for a geometric figure, the Square. Use this diagram to write a class called Square.java that contains the instance variables and instance methods given below:
Here is a UML diagram for a geometric figure, the Square. Use this diagram to write a class called Square.java that containsthe instance variables and instance methods given...
more
05/07/21
Write method to calculate Stimulus Amount. name: calculateStimulus, Parameters; Integer Array called Ages that contains ages of people &return type: void& works for any array size
Write the method to calculate Stimulus Amount: Method name: calculateStimulus Parameters: Integer Array called Ages that contains ages of people Return type: void Logic:...
more
Computer Programming Computer Science
05/07/21
singly linked list that is sorted alphabetically
I am having trouble figuring out how to have a singly linked list that is sort alphabetically. would anyone be able to write out some source code in c# or java that would give me an example of how...
more
05/07/21
Linear Functions
Cameron and David are both driving along the same highway in two different cars to a stadium in a distant city. At noon, Cameron is 700 miles away from the stadium and David is 850 miles away from...
more
05/07/21
Please write an algorithm no need for code
You are given a file called “std” and composed of “Number, Name, Address” fields. Write an algorithm that makes “insert, delete, update and retrieve”, processes on the records in the file. The...
more
Computer Programming Computer Science
05/07/21
singly linked list that is sorted alphabetically
I am having trouble figuring out how to have a singly linked list that is sort alphabetically. would anyone be able to write out some source code in c# or java that would give me an example of how...
more
Computer Programming Algebra 1
05/04/21
Context Inequality
The drama club is selling tickets to their play to raise money for the show's expenses. Each student ticket sells for $5 and each adult ticket sells for $7.50. The auditorium can hold no more than...
more
05/04/21
Context Inequality Graphically
Austin and his children went into a restaurant where they sell drinks for $1.50 each and tacos for $3 each. Austin has $30 to spend and must buy at least 15 drinks and tacos altogether. Also, he...
more
05/04/21
C To F. Write a function: double celsiusToFahrenheit(double celsius)
Write a function:double celsiusToFahrenheit(double celsius)It should return the Fahrenheit temperature equivalent to the given Celsius temp.F = (9.0 / 5) * C + 32Code:#include...
more
05/04/21
String Trim2. Write a function stringTrim that removes the first and last characters from a given string.
Write a function stringTrim that removes the first and last characters from a given string. "chello" should become "hell".Your function must work correctly given the code in main shown below....
more
05/04/21
Midpoint Finder. Write a function: void findMidpoint(double x1, double y1, double x2, double y2, double& xMid, double& yMid)
Write a function:void findMidpoint(double x1, double y1, double x2, double y2, double& xMid, double& yMid)Assume x1, y1 and x2, y2 represent two coordinates on a Cartesian plane. Calculate...
more
Computer Programming Computer Science
05/04/21
UNDER NO CIRCUMSTANCES ARE YOU ALLOWED TO WRITE A SINGLE LOOP!
Simply call on the program, give it one or more parameters and press enter.The conversion for that specific number should then be displayed unless no arguments were given. If by chance you do not...
more
05/03/21
MyMin. Write a function: int myMin(int num1, int num2)
Write a function:int myMin(int num1, int num2)It should return the lesser of the two parameters.Code:#include <iostream>using namespace std;//Do not modify anything on or above the line below...
more
05/03/21
C To F. Write a function: double celsiusToFahrenheit(double celsius)
Write a function:double celsiusToFahrenheit(double celsius)It should return the Fahrenheit temperature equivalent to the given Celsius temp.F = (9.0 / 5) * C + 32Code:#include...
more
05/03/21
String Trim2. Write a function stringTrim that removes the first and last characters from a given string.
Write a function stringTrim that removes the first and last characters from a given string. "chello" should become "hell".Your function must work correctly given the code in main shown below....
more
05/03/21
Midpoint Finder. Write a function:
Write a function:void findMidpoint(double x1, double y1, double x2, double y2, double& xMid, double& yMid)Assume x1, y1 and x2, y2 represent two coordinates on a Cartesian plane. Calculate...
more
05/03/21
Fibonacci functions. You will write three functions, each of which computes Fibonacci numbers.
Write the assembly code for the functions fibonacci_recursive.s, fibonacci_iterative.s, fibonacci_closed.s. Provide the assembly code as the answers for all three functions separately.main.c...
more
05/03/21
help me output either a list of failing students (Less than 65) or a list of students on honor roll(above 90). ONLY USING A LOOP AND IF STATEMEN
using System;public class Program{ public static double[] arrayAvg(double[, ] a) { double[] tempArray = new double[a.GetLength(0)]; double sum = 0; for (int i = 0; i < a.GetLength(0);...
more
05/02/21
Show that B is the inverse of A.
A = -1/2 -5/4 B = 8 51 2 -4 -2To show that B is the inverse of A, we need to show that AB = I = BA.AB = -4 + ___ -5/2 + ___ = ____ ____ 8 + ___ 5 + ___ ____ ____BA = -4 +...
more
Write and Solve Inequalities in Context
David has $520 to spend at a bicycle store for some new gear and biking outfits. Assume all prices listed include tax.
He buys a new bicycle for $303.93.
He buys 4 bicycle reflectors for $10.99...
more
Algebra 1 Question
Camden was given a gift card for a coffee shop. Each morning, Camden uses the card to buy one cup of coffee. The amount money remaining on the card after buying x cups of coffee is given by the...
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.