18 Answered Questions for the topic Software Engineering

Software Engineering Computer General Computer C++

04/05/21

C++. Write a program that reads three integers from cin and outputs them in order from smallest to largest.

C++.Write a program that reads three integers from cin and outputs them in order from smallest to largest.Example: input of 3 8 5 should result in output of:3 5 8Hints: You do not have to actually... more
Software Engineering Computer General Computer C++

04/05/21

C++. An international phone call is billed by the minute according to this scheme: Calls up to 10 minutes cost a flat $5.

An international phone call is billed by the minute according to this scheme: Calls up to 10 minutes cost a flat $5. Calls over 10 minutes but less than 30 cost $.50 per minute. Calls 30 minutes or... more

04/05/21

In a dice game, you get the total you roll on two dice, unless they are the same, in which case you get double what they total. Write a program that helps score the game.

C++. In a dice game, you get the total you roll on two dice, unless they are the same, in which case you get double what they total. Write a program that helps score the game.Read in two integers... more
Software Engineering Computer General Computer C++

04/05/21

Orders from a company that cost $100 or more get a 10% discount. Orders less than $100 do not get a discount.

C++.Read in an decimal value representing the undiscounted order price, and print out what the order should cost.Just print the value - do not add a $ or try to make it look like... more
Software Engineering Computer General Computer C++

04/05/21

Read in a single integer from cin. If it is 7, output "Lucky". If it is not 7, output nothing.

C++#include <iostream>using namespace std;int main(){ //YOUR_CODE}
Software Engineering Computer General Computer C

04/05/21

C Programming. First, fully parenthesize the following expressions according to the precedence and associativity rules.

First, fully parenthesize the following expressions according to the precedence and associativity rules. Then, replacing the variables and constants with the appropriate type names, show how the... more
Software Engineering Computer C++ Computer Programming

04/01/21

Your job is to implement the default (no argument) constructor that sets time to midnight. Hint: The constructor is going to need Time:: in front of its name.

Read the existing code for Time. It stores a time of day in 24 hour format with 0 hours indicating midnight and 12 hours indicating noon.Your job is to implement the default (no argument)... more
Software Engineering Computer C++ Computer Programming

04/01/21

Replace YOUR_CODE with code that will create a point p2 that is 4 units to the right of p1 and 3 units below it.

Read the provided code for the Point class that represents a point on a standard Cartesian plane. Then read the provided code in main.Replace YOUR_CODE with code that will create a point p2 that is... more
Software Engineering Computer General Computer C++

03/31/21

The Rectangle class has been declared and main makes use of it. Add the function implementations so the code compiles and runs successfully.

The Rectangle class has been declared and main makes use of it. Add the function implementations so the code compiles and runs successfully.Hint: Every function name is going to need Rectangle:: in... more
Software Engineering Computer General Computer C++

03/31/21

Your job is to implement the constructor that takes an hour and minute value. Hint: The constructor is going to need Time:: in front of its name.

Read the existing code for Time. It stores a time of day in 24 hour format with 0 hours indicating midnight and 12 hours indicating noon.Your job is to implement the constructor that takes an hour... more

03/31/21

Replace YOUR_CODE with code that will move Point p1 10 units to the right and 3 units down and Point p2 2 units to the left and 5 units up.

Read the provided code for the Point class that represents a point on a standard Cartesian plane. Then read the provided code in main.Replace YOUR_CODE with code that will move Point p1 10 units to... more

09/19/20

Computer Science - Graphs

I've been given an adjacency matrix and asked to state whether the corresponding graph is undirected or not.How do we say whether a graph is undirected or not simply looking at its adjacency matrix.
Software Engineering Computer Engineering

05/03/20

Software Requirement Specification

What are the best 10 functional and 10 nonfunctional requirements for a global chat service?
Software Engineering Computer C++ Computer Programming

10/02/15

C++ Programming Homework Due Tonight :(

I'm pretty sure this assignment is really easy but I haven't learned anything in the class. Basically he wants us to rewrite part of a program as a module. #include <iostream> using... more

12/02/14

java program a mp3 catalogue

Hi! i am new to programming and especially to Java. I have been given a task o complete which is to program a mp3 catalogue. An example could be like itunes where the songs are listed and could be... more

How to calculate the CPU Efficiency for FCFS, SJF, Priority and RR?

I am working on CPU Scheduling and I have to calculate the CPU efficiency for each algorithm i.e. First Come Fist Serve, Shortest Job First, Priority and Round Robin. How can I do this?

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.