524 Answered Questions for the topic computer science

#### Can someone do me this project?-java

The project description:As a programmer, you have been asked to write a Java application, using OOP concepts, for a Hospital with the following requirements:• The Hospital has several employees and...
more

#### Can someone fix my code based on my comment under this question? *java*

My code:package javaapplication45;import java.util.ArrayList;import java.util.List;import java.util.Scanner;public class JavaApplication45 {// Maain Classpublic static void main(String[]...
more

#### Can someone fix my code based on my comment under this question? *java*

My code:package javaapplication45;import java.util.ArrayList;import java.util.List;import java.util.Scanner;public class JavaApplication45 {// Maain Classpublic static void main(String[]...
more

6d

#### Help!! How to solve these matlab problems?

Problem1:Enter the following data into the Matlab command window.A=[02: 1 4];B=[1 3; 2 6]:What is A*B? What is A.*B?What does A.^-I produce verses A^-1?Problem3:Given the matrix: M=[1 1; 1 3;]; Use...
more

6d

#### How to write or solve these problems in matlab?

Problem1:Enter the following variables into your command window:A=[1 2 3:];B=[1:2:3];Can you subtract A from B?Can you add A to A?Problem2: Enter the following data into the Matlab command...
more

8d

#### Understanding Sequential Statements

In this lab, you complete a C++ program with the provided data files. The program calculates the amount of tax withheld from an employee’s weekly salary, the tax deduction to which the employee is...
more

8d

#### Understanding Operator Precedence and Associativity

In this lab, you complete a partially written C++ program that is provided for you. The program, which was written for a furniture company, prints the name of the furniture item, its retail price,...
more

8d

#### Declaring and Initializing C++ Constants

In this lab, you declare and initialize constants in a C++ program. The program, which is saved in a file named NewAge2.cpp, calculates your age in the year 2050.Instructions
Declare a constant...
more

8d

#### Declaring and Initializing C++ Variables

Declare an integer variable named myNewAge.
Declare and initialize an integer variable named myCurrentAge. Initialize this variable with your current age.
Declare and initialize an integer...
more

8d

#### Compiling and Executing a C++ Program

Modify the program so it displays I'm learning how to program in C++.
Modify the C++ Programming program so it prints two lines of output. Add a second output statement that displays That's...
more

8d

#### Compiling and Executing a Java Program

Modify the program so it displays "I'm learning how to program in Java.".
Modify the Programming class so it prints two lines of output. Change the class name to Awesome. Add a second output...
more

8d

#### solving a practice question about finishing a python equation

2. You are considering buying a house and wondering what is the maximum amount of loan you can afford to borrow. Assuming the current interest rate for 30-year term loan is 3.0%, and you can afford...
more

9d

#### question about programming

What does it mean when you are asked to create a method that will accept one time objects and return true if the two times are the same and false otherwise?

10d

#### HELP IN JAVA CODE ASAP

Write a JAVA CODE that:
Display all prime numbers less than 50
Display all factors of 50
Display only the prime factors of 50
Determine whether 50 is a perfect square or
Exit the program
Has to...
more

13d

#### Write an algorithm to implement two stacks in one array.

Write an algorithm to implement two stacks in one array A[1...n] in such a way that neitherstack overflows unless the total number of elements in both stacks together is n. The PUSHand POP...
more

Computer Science Data Structures

13d

#### Write the procedure to represent the sparse matrix using the linked list.

Write the procedure to represent the sparse matrix using the linked list(The algorithm)

Computer Science

21d

#### The elements of a linked list are stored

a. In a structureb. In contiguous memory locationsc. Anywhere the computer has space for themd. In an array

21d

#### How to set up my Github

I need help setting up Github. I opened my terminal and typed git --version and I noticed I do have git installed in my computer. I have an imac 2017. However I don't know how to get the repository...
more

Computer Science

22d

#### python math help

Assign point_dist with the distance between point (x1, y1) and point (x2, y2). The calculation is: Distance = SquareRootOf( (x2 - x1)2 + (y2 - y1)2 ). Sample output with inputs: 1.0 2.0 1.0...
more

Computer Science

22d

#### python geometry help

Simple geometry can compute the height of an object from the object's shadow length and shadow angle using the formula: tan(angleElevation) = treeHeight / shadowLength. Given the shadow length and...
more

Computer Science

22d

#### python integer help

1.23 LAB: Warm up: Variables, input, and type conversion(1) Prompt the user to input an integer between 32 and 126, a float, a character, and a string, storing each into separate variables. Then,...
more

22d

#### SUMMATION AND SERIES EXPANSION QUESTION NEED HELP

What are the first four terms of this sequence, beginning with n = 0An = (-1)n (n+1)!

#### How to make these? (OOP Java)

Program will print a selection screen where the user can choose the operation he/she wants to perform. The selection screen will be repeated after each selection until the staff type the number 4...
more

23d

#### comp sci question

Write a program that produces an ASCII art representation of an hourglass using nested for loops. Use a class constant to make it possible to change the height of the hourglass.Output when a class...
more

23d

#### How to assign seats to the passengers maintaining social distancing?

Imagine there are 30 people in line to board a train that seats 100. However, per currentregulations there must be at least two empty seats between each pair of passengers. Theregulations are not...
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.