3,777 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for John_285

i need help on : we sum the balances of all of the Accounts ?? print the total sum. print the owners of all the Accounts that have balances < 100 ? Danny is generous – and wants to deposit 72 into all accounts with balances < 100 How many …

Computer Science java
Member Avatar for JamesCherrill
0
187
Member Avatar for Shahira_1

Write a program that asks a user for a character and then displays a message whether the parity of the character is odd or even. For calculating the parity, instead of testing the parity flag directly, use a loop that shifts each bit into the carry flag and accumulates a …

Computer Science
Member Avatar for rproffitt
0
34
Member Avatar for manasrathore43

Hi, I have created a two player board game url deleted - rule 2.7 Thes problem is that AI is easily beatable. I used heuristics to find best move for the AI. The rules of game are as follows 1) 9 by 9 grid is divided into 9 grids of …

Computer Science career python seo web-design
Member Avatar for rproffitt
1
70
Member Avatar for Cup of Squirrel

[CENTER][b]YaBasic: The beginners choice[/b][/CENTER] [CENTER][i][SIZE=1]By Michael "Cup of Squirrels" Garwood[/i][/SIZE][/CENTER] So you know how it is, you have some kind of sudden fascination with computers, and want to learn how to program. This could be for a number of reasons: You could be a middle aged man who wants to …

Computer Science
Member Avatar for Ioh
0
5K
Member Avatar for sam91rtr

I have deployed Sitecore pods in Azure kubernetes cluster as per the sitecore documentation but tried to use my self-signed certificate instead of generating using mkcert. Because i wanted to test if client is providing a .pfx certificate will we able to provision Sitecore Pods using that PFX for cm, …

Computer Science engineering
Member Avatar for rproffitt
0
44
Member Avatar for lilindiekid

Write a program that checks the pressure of soda cans coming from a production line using a function. For each soda, the pressure value must be CLOSE to its ideal value. However, due to manufacturing problems the pressure value from can to can. First, the program will read the number …

Computer Science c++
Member Avatar for rproffitt
0
88
Member Avatar for jkamugisha

// c program to add 10 elements entered by the user #include <stdio.h> int main () { int i; float elements[10]; //declaring the array float sum = 0; for (i = 0; i < 10; ++i) { printf ("Enter element %d: ", i + 1); //getting the elements from the …

Computer Science c c++
Member Avatar for rproffitt
0
393
Member Avatar for Alamgir_3

I am a final year student. Now I need to start work for final project. But I am not familiar how to do it. Can you help me out, How to prepare a index page for my website ( Complaint website). Or if you have completed project before, Please send …

Member Avatar for Dani
0
50
Member Avatar for Xozz

Hello, Today I learned about Deepfake. Virtual faces that look very realistic. What do you think of this? And can you tell me what I should do to deploy this technology? I would like to create an assistant that helps people use a website. Thanks, Leon

Computer Science web-server
Member Avatar for rproffitt
0
64
Member Avatar for jsaideekshitha

The datetime module provides date and time objects that are similar to the Date and Time objects, but they provide a rich set of methods and operators. Read the documentation at http: // docs. python. org/ 2/ library/ datetime. html 1. Use the datetime module to write a program that …

Computer Science python
0
60
Member Avatar for Xoxo_2

Count number of occurrences of a digit with while/do while without using array in c++

Computer Science c++
Member Avatar for rproffitt
0
83
Member Avatar for faarrukhjamal

I tried alot to print this arrow with random generated values which are 0101 , every time it should be differnt, please help me out thanks :) ![Untitled1.png](/attachments/large/4/c843d1e3a2cf1464dc1f1eb7c0d4a68a.png)

Computer Science
Member Avatar for Smartfitness33
0
1K
Member Avatar for juniorm_28

Hello everyone! I'm working on this C++ program but im kind of lost. I'm using calling fuctions with void and parameters to create this program that is supposed to average a set of 5 scores and dropped the lowest one. It should calculate and display the average of the four …

Computer Science c++
Member Avatar for tinstaafl
0
180
Member Avatar for juniorm_28

// This program will calculate the highest and the lowest, // variable out of a set of numbers. Also, it is going to give // the sum and the average out of this set. #include <iostream> #include <cmath> using namespace std; int main() { int number, average, amount, sum; int …

Computer Science c++
Member Avatar for Dani
0
342
Member Avatar for sky_xxxx4_

I have to make my sample run look like this . I cannot seem to get it right. Sample run Welcome to Vending Machine capable of deep frying twinkies Please insert coin: Enter D or d for Dollar Enter Q or q for Quarer Enter M or m for Dime …

Computer Science c++
Member Avatar for rproffitt
0
173
Member Avatar for mahir.1
Member Avatar for Lucas_13

I'm trying to write a function that will draw a right triangle that will ascend and then descend after the max height is reached. It is to be drawn using the asterisk symbol. I'm fairly new to recursion and that is the primary method I need to use to solve …

Computer Science c++
Member Avatar for dbfud1988
0
2K
Member Avatar for Dani

I need some quick regex help with matching the same word twice in a pattern. For example, I'm trying to match on the PHP code: `if (isset($foo) AND $foo)` or `if (isset($bar) AND $bar)` where `$foo` and `$bar` are any valid variable name. However, I don't want to match on …

Computer Science regex
Member Avatar for Reverend Jim
0
400
Member Avatar for annetrose

Could someone please help me to find the best LMS software in India? I would like to get a good LMS platform to start online class & conduct exams.

Computer Science
Member Avatar for rproffitt
0
15
Member Avatar for Sunny81

I am trying to create a new function that will retrieve dates and claims for a desired year. I am stuck on the last bit of code. I need to use a return command at the end. I am thinking I need to append my list, but not sure. def …

Computer Science python
Member Avatar for deepaksh
0
20
Member Avatar for Khaled_17

To whom concerning the computer science and technology.

Computer Science
Member Avatar for Dani
0
22
Member Avatar for Katara1

hey , if i wanna write this code by " while" loop , what the steps to do that ?? #include<iostream.h> char *TESTmarks(char *t){ char marks [] = {'.',';',':','!',',','?'}; char *newm=new char [strlen(t)]; for( int i = 0;i<strlen(t);i++) { for(int k = 0;k<=7 ;k++) { if(t[i] == marks[k]) t[i] = …

Computer Science c++
Member Avatar for rproffitt
0
112
Member Avatar for Jin En

double Node::ConvertChar(char key[]) { double value; value=atof(key); return value; } void Node::ConvertFormula(string formula,int resistor,vector <Resistor> &Res,vector <double> &OpArray){ int Operator=resistor-2; resistor=resistor-1; int length=formula.length(); int j=length-4; double resistance; while(length>0) { char temp[3]; int x=1; for(int i=2;i>=0;i--) { temp[i]=formula[length-x]; x++; } resistance=ConvertChar(temp); Res[resistor].SetResistance(resistance); resistor--; while(j>0) { if(formula[j]=='+') { OpArray[Operator]=-1.0; }else { OpArray[Operator]=-2.0; …

Computer Science c++
Member Avatar for Dani
0
112
Member Avatar for Jin En

I need help with random generation of circuit, i have no idea on how to write c++ program to generate random circuit. The following specifications must met: 1) Total number of resistors in the circuit is between 3 and 8. 2) The circuit network layout is restricted only to the …

Computer Science c++
Member Avatar for rproffitt
0
126
Member Avatar for l1bero

Hi, there! Have a question right here. I've been preparing a project (Periodic table of Elements), so user by clicking on elements can access to another form which showing the element properties. Also, the user can search the element based on name, atomic number, year of discovered, and sign. Don't …

Computer Science c#
Member Avatar for rproffitt
0
165
Member Avatar for Gilbertsilva123

hello everyone iam kinda new with pygame. I wanted to create a one mans game which is similar to shoot and killl. i was able to move around my play but the issue is that whenever i press the K_space nothing is coming out and also i would like when …

Computer Science
Member Avatar for Gilbertsilva123
0
313
Member Avatar for Nur_13

hai i need help,my lect ask to do assignment and the question are do insert,delete,edit and print output for queue and stack.everthing is okay until i got stuck how to do edit in queue and stack......someone please help me.thanks in advance

Computer Science java
Member Avatar for JamesCherrill
0
89
Member Avatar for Tim_22

I have an issue within my program where it sas the struct I have created is not initialized. Any suggestions? The lab I am working on is Write a program to help a local restaurant automate its breakfast billing system. The program should do the following: Show the customer the …

Computer Science c++
Member Avatar for tinstaafl
0
614
Member Avatar for Abdullah_13

Hello eveyone, I want to write a MARIE code to perform the following program excerpt: If (x < y + z) { x = x – y; z=z+1; } else y=y-1; Instactions given: - Use “ORG” instruction to start your program at address 200. - The following labels and directives …

Computer Science
Member Avatar for Abdelrhman_2
0
4K
Member Avatar for extr3mex

-Anyone know of any good basic GDB tutorials/resources?

Computer Science
Member Avatar for Max_14
0
704
Member Avatar for MP3HLB

Basically i have values stored into an array and I need to print out thoes values from the array into rows of 6. So after the 6th number in the array, a new line must be created. Can someone help me?? My code I gave below just prints out all …

Computer Science
0
81
Member Avatar for sanidhyaraj18

i am unable to do c++ turtle programmingin in my netbeans ide how can i configure it to do so.please help or tell any other methods for this

Computer Science c++
Member Avatar for JamesCherrill
0
126
Member Avatar for Abardean

Hi all I need assistance with the below code snippit. It calculates how many of salaries entered exceeds R100 000 or how many is below. With the below entries the lower count totals to 4 instead of 5. What am I doing wrong? Still new to this so please excude …

Computer Science c++
Member Avatar for Reverend Jim
0
218
Member Avatar for Abardean

Hi all I need assistance with the below code snippit. It calculates how many of salaries entered exceeds R100 000 or how many is below. With the below entries the lower count totals to 4 instead of 3. What am I doing wrong? Still new to this so please excude …

Computer Science c++
Member Avatar for Reverend Jim
0
206
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
112
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
194
Member Avatar for Sonam_7

Modify your program from Learning Journal Unit 7 to read dictionary items from a file and write the inverted dictionary to a file. You will need to decide on the following: How to format each dictionary item as a text string in the input file. How to covert each input …

Computer Science python
Member Avatar for Reverend Jim
0
123
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
195
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 c++
Member Avatar for rproffitt
0
281
Member Avatar for kesavankani

Hello Everyone, Is this kesavan.I have small doubt.please clear me. How to add live NSE and BSE widget in my website

Computer Science
0
168
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
264
Member Avatar for Nandhini_1

hai, my project title is student's feedback generation vb.net is front end and excel as back end. i have one text box and combobox. to get row value from excel sheet and display into combobox when the text box value matches the cell value

Computer Science vb.net
Member Avatar for rproffitt
0
165
Member Avatar for smgctn

I have a fully functional code that uses the random number generator to generate a set of random numbers. I'm trying to display "e" next to all the even numbers in the set, and then have a cout statement that tells the user how many even numbers there are in …

Computer Science c++
Member Avatar for tinstaafl
0
215
Member Avatar for photo123

Inside of my Windows Form Application , I have a textbox that the user can enter numbers into. I also have an add button if they would like to enter a number and then add another they can hit the button. I'm having trouble with figuring out what you can …

Computer Science c#
0
120
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 java python
Member Avatar for JamesCherrill
0
424
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 java
Member Avatar for rproffitt
0
331
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
183
Member Avatar for Ahmed_76
Member Avatar for Purvi_1
-1
245
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
548

The End.