1,486 Answered Questions for the topic computer programming
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
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
10/20/20
Introduction to Computer Networks and Security
ScenarioAs a User Consultant in the School of Computing, Information & Mathematical Sciences, your job requires you to prepare technical reports. The Head of School requires you to prepare...
more
Computer Programming 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
Computer Programming Data Structure
10/18/20
write a program in c to find out a node with given position and show the data of it then delete the node from the last and insert another node just at given position
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/15/20
Lab for CS112 Data Structures and Algorithms
Answer this and please explain so that it is easy to understand the following questions and the explanation given.Implement a base class Person. Derive classes Student and Instructor from Person....
more
10/15/20
Lab for CS112 Data Structures and Algorithms
Answer this and please explain so that it is easy to understand the following questions and the explanation given.Suppose the class Sub is derived from the class Sandwich. Which of the following...
more
10/15/20
Lab for CS112 Data Structures and Algorithms
Answer this and please explain so that it is easy to understand the following questions and the explanation given.Suppose the class D inherits from B. Which of the following assignments are legal?B...
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
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/12/20
heres a cs question
Consider the following code segment, which is intended to find the average of two positive integers, x and y.int x;int y;int sum = x + y;double average = (double) (sum / 2);Which of the following...
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.