472 Answered Questions for the topic programming
C++ problem on output
anyone knows to show exactly numbers like this: -550.987654321234 I'm using float or double it shows -550.988 and that's not the output I want. Anyone knows to solve this?
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
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
10/29/20
need help with programming
How do you make a simple code that will print using loops:***************
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
Programming Statistics
10/25/20
Confusion Matrix
Let us say you are trying to predict the diabetic status of 200 patients as diabetic or not. 120 of these patients are actually diabetic and the rest are not. You apply an algorithm, which...
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/20/20
How to do this? (Java)
CompositionThere are two ways to reuse existing classes, namely, composition and inheritance.With composition (aka aggregation), you define a new class, which is composed of existingclasses. With...
more
Programming Computer Programming
10/19/20
please write a flowchart :
please write a flowchart to print all the prime numbers before number n
10/19/20
please write this code in C without using loops , for ,if ,while and any other functions :
I want to write a c code to change a binary number to decimal and octal without using any loops and if and for and while . for exp : 00101110 and give 115 and 193and then specify the number is odd...
more
10/17/20
How to make these 3 classes? (Java)
Class1 Shape-color:StringMethods:+getArea() : double+toString(): String ---> Superclass defines the expected behaviors(public intertace) of all subclasses.Program at the public interface.Class2...
more
10/14/20
Creating a Name-Sorting Program in Python
Hi I really need help in my programming class with this assignment!!!Write a function named split_name which takes one parameter called name. If the name parameter value is a name in the form...
more
10/13/20
Create two c++ classes Library and Books
Implement a C++ program to develop a simple Library. Library contains pile of books and each book comprises of ISBN, Name, Author Name, Publisher Name, Issue Date, Return Date. Create...
more
Programming Python3
10/13/20
Removing punctuation in python and changing to all lower case
The code below takes a string and checks to see if it's a palindrome. Write a function that takes in the input string and removes the spaces, returning a string without spaces. Try it first on your...
more
10/12/20
Create a program similar to this while the output stays the same.
Using a text editor, create a file that contains a list of at least 10 six-digit account numbers. Read in each account number and display whether it is valid. An account number is valid only if the...
more
10/12/20
Can somebody please fix the output of date in this code
package filestatistics2;import java.io.File;import java.util.*;import java.text.*;public class FileStatistics2{ private static Object f; public static void main(String[] args) { ...
more
10/12/20
Create two files using any word – processing program or text editor. Write an application that determines whether the two files are located in the same folder. Save the files as SameFolder.java
Can anyone please finish this I have a hard time doing it PLEASEpackage samefolder;import java.util.*;import java.text.*;import java.io.*;import java.io.File; public class SameFolder { private...
more
10/09/20
How to make these 4 classes with these information?(java)
Class1 (Person)-name: String-address:StringMethods:+Person(name: String, address : String)+getName():Stringg+getAddress():String+setAddress (address: String) : void+toString():String ---->"name...
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.