1,486 Answered Questions for the topic computer programming

Computer Programming C++ Computer Science

04/14/21

Implement an abstract parent Shape class and its polymorphic children Circle, Rectangle, and Triangle

Your objective for this project is to implement an abstract parent Shape class and its polymorphic children Circle, Rectangle, and Triangle. Shape is a 2D character array which requires the use of... more

04/13/21

Catapult Calculator

Market research has indicated that the app store currently lacks a catapult calculator. Filling this void could be the get rich opportunity of a lifetime! Write a program that calculates whether a... more

04/13/21

Compilation is normally encapsulated so that all of the necessary steps happen behind the scenes. Type the following C code into a file named count.c.

CompilationCompilation is normally encapsulated so that all of the necessary steps happen behind the scenes. Type the following C code into a file named count.c.#include <stdio.h>#include... more

04/13/21

Zookeeper and kafka

What is the role of kafka in zookeeper
Computer Programming

04/13/21

Object Oriented Programming

Can I get the Java Singleton Pattern Code for the following Problem Statement:Assuming Database is not providing Referential Integrity Constraints support i-e Primary key, foreign key and Unique... more
Computer Programming Computer Science

04/13/21

What are the consequences of this new modification of the round-robin scheuling?

In a round-robin scheduler, usually a ready queue contains all processes waiting for CPU burst time. Each process exists exactly once in the queue. Suppose that the scheduler allowed a process... more

04/12/21

Log Switcher. Read in a number (double). Print the power of two that the number represents.

Read in a number (double). Print the power of two that the number represents.C++11 added a log base 2 function, but you can also just use the formula: power = log(number) / log(2) where log is the... more

04/12/21

Int Range. Read in a decimal value. Print out the two integers it is between, smaller value first, with exactly one space in between them.

Read in a decimal value. Print out the two integers it is between, smaller value first, with exactly one space in between them. If it is an integer value already, your program should print out the... more

04/12/21

Cos Finder. Read in an angle in degrees and the length of the adjacent side to that angle in a right triangle (both as doubles). Print the length of the hypotenuse of the triangle.

Read in an angle in degrees and the length of the adjacent side to that angle in a right triangle (both as doubles). Print the length of the hypotenuse of the triangle.Use the formula hypotenuse =... more

04/12/21

Tangent Angle Finding. Read in the opposite and adjacent sides for one of the acute angles in a right triangle (as doubles). Print the size of the angle in radians.

Read in the opposite and adjacent sides for one of the acute angles in a right triangle (as doubles). Print the size of the angle in radians.Use the rule angleX = atan(opposite/adjacent) to find... more

04/12/21

Vowel Checker. Read in a character. Print vowel if it is a vowel (a, e, i, o, u, A, E, I, O, U) or consonant if it is not.

Read in a character. Print vowel if it is a vowel (a, e, i, o, u, A, E, I, O, U) or consonant if it is not.Hint: a nice trick to simplify your logic is to first convert the input to... more

04/12/21

Passcode Checker. Users of a system are supposed to pick a 3 character pass code such that there is at least one character that is a digit (number) and one character that is not a letter or number.

Users of a system are supposed to pick a 3 character pass code such that there is at least one character that is a digit (number) and one character that is not a letter or number. Something like... more
Computer Programming Computer C++ Computer Science

04/12/21

Next Two Letters. Read in a character (it will always be a lower case letter). Print out the two letters that come after it without any spaces. Once you go past 'z' you should wrap back to 'a'.

Read in a character (it will always be a lower case letter). Print out the two letters that come after it without any spaces. Once you go past 'z' you should wrap back to 'a'.Hint: You can add... more
Computer Programming Computer C++ Computer Science

04/12/21

Char Sorter. Write a program that sorts chars into 1 of 3 groups.

Write a program that sorts chars into 1 of 3 groups. Letters A-J are in group 1, K-P in group 2, Q-Z in group 3. You should read in one character and print out the group it belongs in - assume the... more
Computer Programming C# Programming

04/12/21

What am I doing wrong in my code?

using System; public class Program{ public static void Main() { Console.WriteLine("How many people are in your class? ") classSize = int.Parse(Console.ReadLine()); string students = new... more
Computer Programming

04/08/21

Object-Oriented Programming

Draw a flowchart that allows a user to choose either to drink chocolate or milk. You may manually draw the flowchart and take a picture of it then upload it here.PS: Advanced thank you to anyone... more
Computer Programming Algebra 1 Computer Science Algebra

04/07/21

Write and Solve Inequalities in Context

A group of friends want to go to the amusement park. They have no more than $225 to spend on parking and admission. Parking is $5, and tickets cost $20 per person, including tax. Write and solve an... more
Computer Programming

04/07/21

Solve computational problems using assembly and machine language.

Wombat 1.1 A function is defined as follows: 𝑓(𝑛) = { 𝑛 + 1 𝑓𝑜𝑟 𝑛 < 1 3𝑛 + 5 𝑓𝑜𝑟 𝑛 = 1 𝑛^3 − 3𝑛 + 5 𝑓𝑜𝑟 𝑛 > 1 Write... more
Computer Programming Computer Science Linux Unix

04/06/21

Linux help Assignment Urgent help!

For this assignment you will write a program that allows a user to entertiming data (minutes and seconds) and then print out some information aboutthe entered data.- the program reads input... more
Computer Programming

04/06/21

Object-Oriented Programming

Answer the following questions. 1. Describe a sequential and selection control structure.2. What factors do should one consider in program development?3. What is the role of... more
Computer Programming

04/06/21

Object-Oriented Programming

1. What is a sequential and selection control program? 2. Write a simple program in java demonstrating a selection control structure. 3. What is Repetition Program Structure?4. Give... more
Computer Programming Computer Science Linux Unix

04/05/21

Linux assignment help

For this assignment you will write a program that allows a user to entertiming data (minutes and seconds) and then print out some information aboutthe entered data.Context:A drop of sweat dripped... more
Computer Programming 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
Computer Programming 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

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.