1,475 Answered Questions for the topic computer programming

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
Computer Programming 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
Computer Programming 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}
Computer Programming C# Programming

04/05/21

C# Random Numbers.

create an array of 10 random numbers from 1 to 100. We will use a for loop to populate the array. output the numbers in their original order on one line. We will sort the list and output the... more
Computer Programming 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

04/05/21

C Programming Questions: 1. What is unusual about the logical operators? 2. What is a possible problem using continue in while statements?

1. What is unusual about the logical operators? 2. What is a possible problem using continue in while statements?
Computer Programming

04/05/21

Sequential programming object oriented programming

Create a program that will display the following output.Output 1******* SALARY CALCULATOR *******Employee name: (input)Rate Per Hour: (input)Total Number of Hours Worked: (input)GROSS SALARY:... more
Computer Programming

04/03/21

can you modify the program below to prompt for 3 numbers, calculate the sum, and output the result. Include your entire source code. If possible show a screen shot of your output.?

.586.MODEL FLAT.STACK 4096 ; reserve 4096-byte stack.DATA ; reserve storage for datanumber DWORD -105 ; a dowrd location labeled "number" contains a value of -105sum DWORD ? ; a dword location... more
Computer Programming Computer Science Linux Unix

04/02/21

Linux Programming 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 Science Linux Unix

04/01/21

Help with using VIM editor in Linux

Edit hello.cpp using vimUse vim editor to edit hello.cpp, to have a custom message then recompile the program and run it again.(I dont know what im supposed to type please help)

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.