1,475 Answered Questions for the topic computer programming
Computer Programming
11/01/20
python using integers
Write a program using integers user_num and x as input, and output user_num divided by x three times. Ex: If the input is:
2000
2
Then the output is:
1000 500 250
Note: In Python 3, integer...
more
11/01/20
How to make these? (OOP Java)
Program will print a selection screen where the user can choose the operation he/she wants to perform. The selection screen will be repeated after each selection until the staff type the number 4...
more
Computer Programming
11/01/20
Computer Program
1.1 Problem StatementDue to upcoming end of financial year, you are being called in to write a program which will read in a file and produce reports as outlined.Inputs:The input file called...
more
11/01/20
comp sci question
Write a program that produces an ASCII art representation of an hourglass using nested for loops. Use a class constant to make it possible to change the height of the hourglass.Output when a class...
more
11/01/20
How to assign seats to the passengers maintaining social distancing?
Imagine there are 30 people in line to board a train that seats 100. However, per currentregulations there must be at least two empty seats between each pair of passengers. Theregulations are not...
more
10/30/20
Method code won't work for capitalization
Hi! I am doing a code for method that will capitalize every other word in an input, however my code below does not work and I can not find the reason. Can someone pls help? static string...
more
10/30/20
Why wont this code work?
static bool Palindrome (string input) { bool pal; string check = ""; for (int i = input.Length; i >= 0; i--) { check = check +...
more
10/30/20
C# method returning a bool
Hi!I am checking whether an input is a palindrome or not with the help of a method. However, I get error in the part of code bolded and underlined below:public static bool Check (string input){bool...
more
10/30/20
Can someone do me this project? (Java)
The project description:As a programmer, you have been asked to write a Java application, using OOP concepts, for a Hospitalwith the following requirements:The Hosptal has several employees and...
more
Computer Programming
10/30/20
coding and user interface
Part 1: Programming – Income Tax Application 1.1 Problem Statement Due to upcoming end of financial year, you are being called in to write a program which will read in a file and produce reports as...
more
10/29/20
need help with programming
How do you make a simple code that will print using loops:***************
10/29/20
I am really stumped on answering this Discrete Mathematics Question
Let U={0,1,2,3,...,19}. Select the bit-string that represents the subset {1,3,5,7,11,13,17,19}, using the convention that the right-most bit represents the element 19.
10/28/20
Create Gradebook Simulator in Python
I need help writing a program that allows a user to do one of five things at a time: 1. Add students to database. • There should be no duplicate students. If student already exists, do not add the...
more
Computer Programming Python
10/26/20
Recursive Programming Basics
What is a recursive function and how is it implemented in Python?
Computer Programming
10/26/20
What would be the result of Math.sqrt(16)?
What would be the result of Math.sqrt(16) in programming?
10/25/20
Require Dev C++ code for the following (Google Drive link attached for the assignment description)
https://drive.google.com/file/d/1LwdrBJUSWo4QHXtUAtWrsia4lOFTnSSu/view?usp=sharing
10/23/20
discrete math- pseudo code
Given an integer n show that you can multiply n by 35 using only five multiplications by 2, two additions and storing intermediate results in memory.
10/23/20
computer science question
Assume that you have a variable called line that will take on the values 1, 2, 3, 4, and so on, and a class constant named SIZE that takes two values. You are going to formulate expressions in...
more
Computer Programming
10/23/20
Translate from C++ to Pep/9
Take the following C++ program and translate it into Pep/9 assembly language#includeusing namespace std;int age;char first, last;int main() { cin >> age; cin >> first >>...
more
10/22/20
I can't find the link for the files sir Patrick B.
I'm really sorry to bother you more but There is no link for the files HENRY!!!I have uploaded the source code for you. It is simply way to large to put here...It is called Java Logon and posted as...
more
10/22/20
'else' statement error in Java
I'm trying to write this code and I keep getting the error: Syntax error on token "else", delete this token. Yes, I've tried using {brackets} and pretty much everywhere I search online, it says...
more
10/21/20
Creating a Song Search Program with Python
Could someone help? I need to
Create an empty dictionary a variable named song search
Repeatedly prompt the user to enter either the title of a song or enter nothing if they have no more songs to...
more
10/21/20
Help me complete the code please. PLEASE
import java.io.*;import java.io.BufferedReader;import java.io.BufferedWriter;import java.io.FileWriter;import java.io.InputStreamReader;import java.io.PrintWriter;import...
more
10/21/20
windows forms Application using Visual Basic
use visual basic 2012Part 1: Programming – Income Tax Application 1.1 Problem Statement Due to upcoming end of financial year, you are being called in to write a program which will read in a file...
more
10/20/20
Write a python program
Write a python script to take two values as string (using raw_input) and convert it into a multiple lists which appears like matrix. Sample string input: 3 5 Sample O/P: [0, 0, 0, 0, 0] [0,...
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.