1,518 Answered Questions for the topic computer science
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!
Computer Science
10/07/19
Use a sum accumulator, a for loop and a range statement to find the sum of the odd ints from 1 to 51. Use a print statement to print out a labelled answer.
10/06/19
How to write a and b as inclusive integers? (python3)
Write a program that takes three integers a, b, and k as command-line arguments writes the integers between a and b (both inclusive), but only k integers per row.I honestly have no idea where to...
more
10/04/19
How do I properly fill in and create a While Loop Flowchart and Pseudo code for this? I also need to perform 3 desk checks, details below...
"Farmer Pete’s pigs and sheep are all intermingled. He wants to be able to determine how many pigs and sheep he has by just walking out and counting them one at a time. He also needs to know what...
more
10/03/19
please make a significant effort to the problem and organized summary of the process you have followed and conclusions you can draw.
Five applicants are to be scheduled for job interviews at five given times. On an application form, each applicant was asked to mark two out of the five times. What is the probability that each of...
more
10/01/19
Java Switch Case
Why is the output of the code 14, not 8 : alpha=3+5=8?public class Application4{public static void main(String[] args) {int alpha=3;int beta=5;switch (beta){case 3:alpha=alpha+3;case...
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.