149 Recommended Topics
Remove Filter
|
|
What is the c program for airline ticket reservation system using file handling?
Computer Science
|
|
Hello, I am working a program that starts at a direction and goes to the destination and reverse. I have reversed the list and used a if statement for the switching the directions from R (Right) and L (Left) but it doesnt want to work properly. My question is how …
Computer Science
java
|
|
Hello! Can someone help me with coding in R ? I am new to R and I need to solve this project. It has been so many days I dont find a solution. This is the problem : You are an online movie and concert ticket service. Visitors go to … |
|
Hello dears, can anyone help me with how to code this: Write MARIE code to: 1. Input a number and store it in X . 2. Y will be equal to “
Computer Science
|
|
Hello I have a abstract class: import javax.swing.JOptionPane; public abstract class Question { static int nQuestions = 0; static int nCorrect = 0; String question; String correctAnswer; abstract String ask(); void check() { nQuestions++; String answer = ask(); if (answer.equals(correctAnswer)) { JOptionPane.showMessageDialog(null,"Correct!"); nCorrect++; } else { JOptionPane.showMessageDialog(null,"Incorrect. The correctanswer is …
Computer Science
java
|
|
# Find minimum integer coefficients for a chemical reaction like # A * NaOH + B * H2SO4 -> C * Na2SO4 + D * H20 import sympy import re # match a single element and optional count, like Na2 ELEMENT_CLAUSE = re.compile("([A-Z][a-z]?)([0-9]*)") def parse_compound(compound): """ Given a chemical compound … |
|
Is there a way to solve for a system of multiple equations with multiple variables and variables on both sides in java Lets say im given three (or more) equations in an array list or array like so... 4A=1C 10A=2D 2B=2C+1D and im allowed to set one variable equal to … |
|
So i've made a piece of software, i've finished unit and integration testing, and now I need to do system testing. I've read that "System testing is testing the whole system against the requirements specification after integration testing has finished. we don’t need to know what component is being executed, …
Computer Science
|
|
Assume that you are the manager of a restaurant. Create an interactive program that allows you to manage the order from your customers and compute your daily sales. First create a text file that contains the menu of your restaurant. Arrange the menu such that the items are properly organized …
Computer Science
c++
|
|
I am trying to get a program to work that asks for a user input to count by that number and display 10 numbers per line. I can not get it to display 10 numbers per line. If anyone can explain to me what I am doing wrong? public static …
Computer Science
java
|
|
I am a student learning, I was tasked with the following; > Create a class called AddressBook. Create the address book with a dynamic array and when the object is created, the programmer should specify the maximum number of items in the addressbook. (e.g.) AddressBook myAddressBook(20); It should contain a …
Computer Science
c++
|
|
How are you? Greetings to all of you. I have a task and that is to find the complexity of the counting algorithm sort line by line to finally find the T(n). The truth is that it has been quite a complicated subject for me, but I have been working …
Computer Science
algorithm
|
|
I need help with a code for averaging grades it works on a online compiler but it doesn't work on visual studio 2019
Computer Science
c++
|
|
# Introduction # This tutorial provides guidance on gathering data through web-scraping. However, to demonstrate the real-life issues with acquiring data, a deep-dive into a specific, complicated example is needed. The problem chosen, acquiring the geographic coordinates of gas stations in a region, turns into an interesting math problem that, …
Computer Science
api
geolocation
geometry
map
python
|
|
what are the different relational operators in python?
Computer Science
python
|
|
The reverse program shown in the slides of chapter 13-1 (also present in the book) reads from a file/command line using system calls and outputs the lines in reverse order on the terminal. The last line is swapped with the first line , the second last is swaped with the …
Computer Science
|
|
Design a function named max that accepts two integer values as arguments and returns the value that is the greater of the two. For example, if 7 and 12 are passed as arguments to the function, the function should return 12. Use the function in a program that prompts the …
Computer Science
algorithm
|
|
I created a calculator only using the scripting commands in the video game Counter-Strike, bind (for input) echo (for output) and alias (for the logic). Bind is to connect keys to a command or string of specified commands, echo is to output text to the console, and alias is a …
Computer Science
algorithm
|
|
## Intro ## Receiver Operating Characteristic (ROC) plots are useful for visualizing a predictive model’s effectiveness. This tutorial explains how to code ROC plots in Python from scratch. ## Data Preparation & Motivation ## We’re going to use the breast cancer dataset from sklearn’s sample datasets. It is an accessible, …
Computer Science
python
|
|
I see this Question in a diploma in computer science Exam in Algorithm , and i need help to solve it : Algorithm A1 takes n^2 days to solve a problem of size n . Algorithm A2 takes 2^n seconds on the same problem . Detrmine how large of a …
Computer Science
algorithm
|
|
I have this Question , I want the answer and show me how to solve it Please : Analyze the running time of the following algorithm using Big-Oh notation maxerea =0; maxpt1 =maxpt2 = maxpt3 =0; for(i =1;i<=n;i++) for(j =i+1;j<=n;j++) for(k =j+1;k<=n;k++){ empty = True; for(l =1;l<=n;l++){ if((l != i) …
Computer Science
algorithm
|
|
Why Big-Oh is not a good scale for comparing algorithms?
Computer Science
algorithm
|
|
Hello, so im making an os in pydroid 3, but i cant make a clock, im trying to make a graphical os but i cant cause i need a clock, Any idea? And i edited someones code for username and password to work, but i had to delete raw_data or … |
|
public class BusPayment extends JFrame{ private JButton paynow; private JButton cancel; private JComboBox<String> jComboBox1; private JFrame frame; private JLabel label1, label2, label3, label4; private JPanel panel1, panel2,panel3; private JRadioButton destination1; private JRadioButton destination2; private JRadioButton destination3; private JRadioButton destination4; private JRadioButton destination5; private JRadioButton destination6; private JComboBox company; private JTextField …
Computer Science
java
|
|
Can any one give me snippt code for single, double and single circular linked list. |
|
hi all i am making a weather data program and i having a problem for bringinng my text file to the table. here i am putting all my code . and i also have to import a second output window for my code. for example when ever i enter ome …
Computer Science
java
|
|
I try to evaluate working time of Tjuring machine, but I really don't know how to do it. I try to evaluate working time of Turing machine. I understand, I have to calculate number of steps used in every stage. My problem is: how can I know, how many steps …
Computer Science
algorithm
|
|
So the the longest time I had been struggling with popping and crackle when using HDMI audio on my GPU out to my TV. I've tried different cables, different graphics card drivers, new Windows installs, not using the nvidia HDMI audio drivers, uninstalling nvidia experience, even a new GPU, lots …
Computer Science
|
The End.