149 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Kumar_1975

What is the c program for airline ticket reservation system using file handling?

Computer Science
Member Avatar for Reverend Jim
0
191
Member Avatar for Nightocoder201

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
0
110
Member Avatar for Ilda_1

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 …

Computer Science algorithm c++ database
Member Avatar for rproffitt
0
277
Member Avatar for mobeid1

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
Member Avatar for rproffitt
0
192
Member Avatar for seb33

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
Member Avatar for JamesCherrill
0
251
Member Avatar for Aaron_17
Member Avatar for Daniel_118

# 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 …

Computer Science algorithm java python
Member Avatar for JamesCherrill
0
405
Member Avatar for Daniel_118

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 …

Computer Science algorithm java
Member Avatar for rproffitt
0
327
Member Avatar for jianna66

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
Member Avatar for Robert_96
0
175
Member Avatar for PitMalice

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++
Member Avatar for rproffitt
0
485
Member Avatar for Speed_Freak5150

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
Member Avatar for JamesCherrill
1
2K
Member Avatar for Detsibli

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++
0
289
Member Avatar for Felipe_4

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
Member Avatar for rproffitt
0
285
Member Avatar for poop_2

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++
Member Avatar for rproffitt
0
360
Member Avatar for jeffmylife

# 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
Member Avatar for OfeliaPoore
2
3K
Member Avatar for dukoolsharma
Member Avatar for Vikrant Singhal
-1
559
Member Avatar for Dawit_4

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
Member Avatar for rproffitt
0
343
Member Avatar for UNIQUE_PRINCE

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
Member Avatar for UNIQUE_PRINCE
0
358
Member Avatar for John_238

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
Member Avatar for rproffitt
0
331
Member Avatar for jeffmylife

## 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
3
9K
Member Avatar for Zainab_7

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
Member Avatar for JamesCherrill
1
571
Member Avatar for Zainab_7

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
Member Avatar for Dani
0
375
Member Avatar for Zainab_7

Why Big-Oh is not a good scale for comparing algorithms?

Computer Science algorithm
Member Avatar for rproffitt
0
353
Member Avatar for GamerRunerrabits

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 …

Computer Science linux python
1
603
Member Avatar for Geanna Afera

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
Member Avatar for John_165
0
351
Member Avatar for Yakob Tamrat

Can any one give me snippt code for single, double and single circular linked list.

Computer Science algorithm c++
Member Avatar for Reverend Jim
0
381
Member Avatar for Deep_9

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
Member Avatar for JamesCherrill
0
351
Member Avatar for Agra_1

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
Member Avatar for rproffitt
0
307
Member Avatar for GeorgeMendes

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
Member Avatar for happygeek
0
240

The End.