1,475 Answered Questions for the topic computer programming

04/27/21

industrial control system

We have an AC Motor. It will be run as an arranged. We also have one start button an done stop button. When we press the start button once, following events will occur. During the running of the... more

04/27/21

All To Upper. Read a string from cin into word and modify it so that it has all uppercase letters.

Read a string from cin into word and modify it so that it has all uppercase letters.Samples: Input: hello Output: HELLO Input: h3Llo Output: H3LLO Hints: You can only change the code in the... more

04/27/21

Count E's. Read in a string, print out the number of e's in it.

Read in a string, print out the number of e's in it. Note that the string may have spaces in it. A call to getline looks like getline(cin, myVariable) where myVariable is a string variable that... more
Computer Programming Computer Science

04/26/21

This needs to be done in C programming using use structures to represent elements of the game, eg the board, the players, etc

create a program that manages a game of Othello for two players.Your program should have the following functionality: Ask each player to provide their name as input from the keyboard and assign... more

04/26/21

Web Log Parser. Submit to elearn: Make sure to name files EXACTLY as specified - including capitalization. Do not submit extra files. Do not zip or otherwise compress files unless told to.

ObjectiveYouwill be able to read data from a file and use string functions to process text.Assignment InstructionsShould be able to compile and run your program with: g++ -std=c++11 assign5.cpp -o... more
Computer Programming Computer General Computer C++

04/26/21

Tag Remover. Read in a string that may have spaces (use getline!).

Read in a string that may have spaces (use getline!). In the string will be something that looks like [TAG]text inside tag[/TAG] where TAG can be any string. Print out the TAG, a colon, and the... more
Computer Programming Computer General Computer C++

04/26/21

Sher. Write a word shortener.

Write a word shortener. Read in a string (you may assume no spaces). If it is 4 characters or less, print it back out. If it is more than 4 characters, print just the first two followed by the last... more
Computer Programming Computer General Computer C++

04/26/21

Caturday Check. Read a string (will not have spaces).

Read a string (will not have spaces). Print "true" if the word "cat" appears starting at the first or second letter. Otherwise print false.Samples: Input: catch Output: true Input: scatter ... more
Computer Programming Computer General Computer C++

04/26/21

First Middle Last Letter. Read in a string from cin (it will not have any whitespace).

Read in a string from cin (it will not have any whitespace). Print out the first character, middle character (if string is an even length, print the second of the two middle letters), and last... more
Computer Programming Computer General Computer C++

04/26/21

All To Upper. Read a string from cin into word and modify it so that it has all uppercase letters.

Read a string from cin into word and modify it so that it has all uppercase letters.Samples: Input: hello Output: HELLO Input: h3Llo Output: H3LLO Hints: You can only change the code in the... more

04/26/21

String Compactor. Write code that will read in a string and then print out every other character of the string.

Write code that will read in a string and then print out every other character of the string. You should use getline to read in the string... it may have spaces.Samples: Input of "Hello" should... more

04/26/21

Count E's. Read in a string, print out the number of e's in it.

Read in a string, print out the number of e's in it. Note that the string may have spaces in it. A call to getline looks like getline(cin, myVariable) where myVariable is a string variable that... more
Computer Programming

04/25/21

Object-Oriented Programming

Create the java source code that will convert INCHES to FEET.Program RequirementThe user will be able to input value (inches)Display converted value (FEET). 12 Inches = 1 FeetImplement the code... more
Computer Programming C Computer Science Computer Engineering

04/25/21

C Programming Language. Please write the two programs in C. 

C Programming Language. Please write the two programs in C. DigitsWrite this program in a file named digits.c.As input, you will define a quad word integer variable named input in the initialized... more

04/25/21

a program that reads names from a file  However, the program does not work as expected. It gives an ArrayOutOfBounds exception. Correct this without changing the size of the array.

Here is a program that reads names from a file Friends-1.txt  download  and stores them in an array called friends.It then asks the user for a name and searches the array for the friend. If it... more

04/25/21

Explain ways Scanner class create objects that can input data from the three types of input sources. Give 3 examples of the use of Scanner objects. Describe 1 Scanner method

Explain the ways in which the Scanner class can be used to create objects that can input data from the three types of input sources.Give 3 examples of the use of Scanner objects. Describe 1 Scanner... more

04/25/21

Modify the above program so that it reads from the file FriendsPhones.txt, download the friends name into the friends array and corresponding phone number into an array called phoneNumbers.  Upd

Modify the above program so that it reads from the file FriendsPhones.txt,  download the friends name into the friends array and corresponding phone number into an array called phoneNumbers. Update... more

04/25/21

Method called searchGenius inputs information from user& tries to find a genius student.. Not work as expected. debug the method by 1. What line does error occur? 2. what is the error & why 3. correct

Here is a method called searchGenius inputs information from the user and tries to find a genius student. A "genius" student is considered to be one who is between 18 and 21 years of age, has... more

04/25/21

For each of the following while loops, how many times will the loop execute its body? Remember that "zero," "infinity," and "unknown" are legal answers.

For each of the following while loops, how many times will the loop execute its body? Remember that "zero," "infinity," and "unknown" are legal answers.a) int x = 1; while (x < 100) { ... more
Computer Programming Computer Computer Science

04/25/21

What is Fencepost algorithm? Use it to write a method called countLengths that takes in a String array of 7 elements as parameter& prints the number of characters in each string separated by ",".

Explain "Fencepost algorithm" Use this technique to write a method called countLengths that takes in a String array of 7 elements as parameter& prints the number ofcharacters in each string... more
Computer Programming Math Calculus Precalculus

04/24/21

Solve for X using the matrices below.

2A + 4B = −2XA = 8 -5 and B = 0 7 1 0 2 0 9 -2 -2 -1X = _____ _____ _____ _____ _____ _____

04/24/21

Use a graphing utility to perform the operations for the matrices A, B, and C, and the scalar c.

A = -3 -2 3 0 2 -1 1 4 -2B= 1 -1 0 2 4 3 -2 1 0C = 3 -2 3 -4 0 -2 -1 1 3 c = 2(a) c(AB)_____ _____ __________ _____ __________ _____ _____(b) (cA)B_____ _____... more
Computer Programming Math Calculus Precalculus

04/23/21

Use a graphing utility to perform the indicated operations.

A = 2 0 and B = 5 3 4 5 1 4B2 − 3B + 7Ɪ2= _____ ______ ______ ______
Computer Programming Math Calculus Precalculus

04/23/21

Solve for X using the matrices below.

2A + 4B = −2XA = 8 -5 and B = 0 7 1 0 2 0 9 -2 -2 -1X = _____ _____ _____ _____ _____ _____

04/23/21

Find x and y from the matrix.

x+2 3 -7 2x+6 3 -7 5 2y 2x = 5 8 -85 7 y+2 5 7 6x = ____y = ____

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.