1,486 Answered Questions for the topic computer programming
Computer Programming
04/22/21
while loops (python)
Joe just graduated college and has been offered his first real job as a widget designer at Widgets USA, Inc. He is disappointed in the offered beginning salary; only $20,000 per year. But he is...
more
Computer Programming
04/22/21
While loops (python)
Joe just graduated college and has been offered his first real job as a widget designer at Widgets USA, Inc. He is disappointed in the offered beginning salary; only $20,000 per year. But he is...
more
04/19/21
Read Text. Write a program that reads one character at a time and prints them out without spaces until it hits a period. Do not print the period.
Write a program that reads one character at a time and prints them out without spaces until it hits a period. Do not print the period.Input of:H e l l o .should result in output...
more
04/19/21
Squares Adder. Write a program that reads in a number (integer) indicating how many values you are to read.
Write a program that reads in a number (integer) indicating how many values you are to read. Then read in that many more numbers (all integers) and output the sum of their squares.Input of 4 1 2 3...
more
04/19/21
Counting 3. Write a program that reads in two chars, like B and F and prints all the characters in that range in the format:
Write a program that reads in two chars, like B and F and prints all the characters in that range in the format:B,C,D,E,FHints:
Your loop variable should be a char. Remember you can add one to a...
more
04/19/21
Counting 2. Read in three numbers. A start value, an increment value, and an end value (all integers). Start counting from the start, adding the increment at each step...
Read in three numbers. A start value, an increment value, and an end value (all integers). Start counting from the start, adding the increment at each step, until you are at or above the end...
more
04/19/21
Counting 1. Write a program that reads in a number, and writes out from 1 to that number. An input of 5 would produce 12345.
Write a program that reads in a number, and writes out from 1 to that number. An input of 5 would produce 12345.Code:#include <iostream>using namespace std;int main(){ //YOUR_CODE}
04/19/21
Cell Labeler. In a spreadsheet, the rows are numbered and the columns are lettered, like this:
In a spreadsheet, the rows are numbered and the columns are lettered, like this:
ABC
1
A1
B1
C1
2
A2
B2
C2
The code below reads in a number of rows and columns. Prints out the cells that would...
more
04/19/21
Triangle Printer 2. The existing code reads in a number and prints a series of rows. Modify it so it prints a triangle that looks like the ones shown below.
The existing code reads in a number and prints a series of rows. Modify it so it prints a triangle that looks like the ones shown below.
SizeShape
1
*2
*
**
3
*
**
***
4
*
**
...
more
Computer Programming Computer Science
04/19/21
Bash script unix
Write a Bash script that reverses the name of every *.html file in the current directory, whilst keeping their extension. For example, if a file is file.txt.html it should be renamed to txt.elif.html.
more
04/19/21
Triangle Printer. The existing code reads in a number and prints a column of stars that many rows long. Modify it so that it prints a triangle that looks like the one shown below.
The existing code reads in a number and prints a column of stars that many rows long. Modify it so that it prints a triangle that looks like the one shown...
more
04/19/21
Square printer. Read in an integer. Print a square of *'s that height and width. An input of 3 should produce:
Read in an integer. Print a square of *'s that height and width. An input of 3 should produce:
***
***
***
An input of 5 should produce:
*****
*****
*****
*****
*****
Code:#include...
more
Computer Programming Computer Science
04/18/21
This needs to be done in C programming.
Modify the C Program Linked List given below to create a queue. The same functions for adding, removing and printing nodes should be present.EXTRA: Include print statements to explain what is...
more
Computer Programming Computer Science
04/18/21
This needs to be done in C programming.
Modify the C Program Linked List given below to create a queue. The same functions for adding, removing and printing nodes should be present.EXTRA: Include print statements to explain what is...
more
Computer Programming Computer Science
04/18/21
This needs to be done in C programming.
Modify the C Program Linked List given below to create a queue. The same functions for adding, removing and printing nodes should be present.EXTRA: Include print statements to explain what is...
more
04/18/21
how possible 6 digit PIN code with exactly 5 different numbers?
how possible 6 digit PIN code with exactly 5 different numbers?
04/17/21
Simulate a selective repeat flow control mechanism using client server socket programing
can use any programming language of choice.
04/17/21
Write a client server program using sockets.
In server a list of random thoughts are stored. Client request for a random thought. Using a random number, pick a random thought and post it to the client side. (use c, c++ or python as...
more
04/17/21
Use matrices to solve system of eq (if possible). Use Gauss elimination w/ back-substitution. (If no solution, enter NO SOLUTION. If system is dependent, set w = a & solve for x, y & z in terms of a.)
x-4y+3z-2w= 163x-2y+z-4w= -10-4x+3y-2z+w= -5-2x+y-4z+3w= -19(x, y, z, w) = (______)
04/17/21
Write the system of linear equations represented by the augmented matrix. (Use the variables x, y, z, and w, if applicable.)
7 -5 -148 3 -16= ________ ________
Write the matrix in row-echelon form. (Note: Row-echelon forms are not unique.)
1 2 -1 63 7 -5 5-2 -1 -3 2= ____ _____ ____ ____ ____ _____ ____ ____ ____ _____ ____ ____
04/17/21
Use matrices to solve the system of eqs (if possible). Use Gauss-Jordan elimination. (If no solution, enter NO SOLUTION. If system is dependent, set z = a and solve for x and y in terms of a.)
2x+2y-z= 14x-3y+z= -30-x+y =12(x,y,z) = ______
04/15/21
The array declared as int rooms[4] will not be able to store a value in?
The array declared as int rooms[4] will not be able to store a value in?
rooms[0]
rooms[1]
rooms[2]
rooms[3]
rooms[4]
04/15/21
I need the implementations for all the classes in this project in C++
This is the link to all the instructions to the project, there should be a Shape class as the abstract parent class and circle, triangle, rectangle children classes which inherit from shape. Should...
more
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
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.