1,523 Answered Questions for the topic computer science
11/09/19
Java Program / methods
One sales shop offer following discount rates to customers based on their bill value.Bill value Range Discount ratebill value >= 10000 discount 20%bill value >= 5000 disocunt 10%bill value...
more
11/08/19
Java Number Patterns
How do we print,_ _ _ _1_ _ _2 1_ _3 2 1_ 4 3 2 1In Java?Please help, I don't know how to get started
Computer Science Matlab
11/05/19
Calculating Derivatives in MATLAB
PLEASE USE MATLABMy project is supposed to use Matlab and let the user type in any function and the output is the derivative of the function inputed. Please copy and paste your code... I am...
more
Computer Science
11/04/19
What is output by the pseudocode below? list <- [5, -3, 2, 3, 6, 1] sum <- 0 spot <- 1 repeat 6 sum <- sum + list[ spot ] spot <- spot + 1 display( sum ) a. 0 b. 5 c. 13 d. 14 e. 17
Computer Science Computer Programming
11/04/19
Write a function quartersToDollars which takes quarters of type int as an argument and return the equivalent number of dollars as double.
The prototype of the function is double quartersToDollars(int)For ex if you pass 4 as an argument the method should return 1.0 and if you pass 7 as an argument the method should return 1.75...
more
Computer Science Computer Programming
11/03/19
Write a function timesTenthat returns a value that is ten times the value of the parameter passed to it. The prototype of the function is shown below.double timesTen(double);
Output:Enter a number: 12.34The value of ten times of 12.34 is 123.4
Computer Science Computer Programming
11/03/19
Write a function that calculates the first 50 prime numbersYou can do this program with two functions
1) bool isPrime(int number)2) void printPrimeNumbers(int numberOfPrimes)
Computer Science Computer Programming
11/03/19
Write a function timesTenthat returns a value that is ten times the value of the parameter passed to it. The prototype of the function is shown below.double timesTen(double);
10/30/19
Question is in description. About writing a MATLAB code
USING MATLABWrite a program that creates a table showing the conversion from Yen too Pesos. Your program should be able to print a user specified number of lines showing the value of the Yen in one...
more
Computer Science Networking (computer)
10/28/19
Need help with network science please
Consider the following undirected graph (draw a picture) with vertex set V={1,2,3,4,5} and edge set E={(1,2),(1,5),(2,3),(3,4),(4,5)}. What is the average path length i.e. the average shortest path...
more
Computer Science Java
10/26/19
Java Time Calculator Program Help
Write a program using JAVA and FINAL variables that asks the user to enter a number of seconds.
There are 60 seconds in a minute. If the number of seconds entered by the user is greater than or...
more
Computer Science C++
10/26/19
How to design a function that will let only the minimum elements be at the bottom? C++
Write the body of the user function below that changes a stack so that all occurrences of the smallest item are at the bottom of the stack, while the order of the other items remains the same. For...
more
10/24/19
I can anyone help me understanding this problem
Let F and G be sequences which satisfy the joint recursion:𝐹𝑛+1 = 𝑎𝐹𝑛 + 𝑏𝐺𝑛𝐺𝑛+1 = 𝑐𝐹𝑛 + 𝑑𝐺𝑛Where a, b, c, and d are non-zero constants. Find recursions for F and G individually.
10/22/19
Creating An Air Pollution Index Reader in Ruby (Straight Forward Question)
I got stuck halfway with this question, im unable to post the image because im required to get 10 reputation points here lol. So i literally recreated the whole question here. There were no files...
more
Computer Science Computer Programming
10/19/19
How do I program this problem?
Write a program to read 10 integers from an input file, “num.txt”, and output the average, minimum, and maximum of those numbers to an output file “out.txt”. Also make sure to test for the...
more
Computer Science C++
10/16/19
Im not sure how to do this but it would be nice to get some help. C++ language
WRITE AN INTERACTIVE PROGRAMthat allows the user to enter (at least two)....UP-TO 15 vectors that are to be added........display the resultant on the screen
10/14/19
Linear Algebra for Computer Science
Let 2 square matrices M and N each have rank 1. What can you say about the rank of MN?
10/14/19
Linear Algebra for Computer Science
Let M and N be 2x2 matrices and each is rank 1. What can you say about the renal of M+N?
Positional Number Systems
The problem is: Convert number 3424 base 5 to base 6 in Positional Number Systems Can you please describe it step by stepThank you in Advance!
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.