Member Avatar
It has been a long time since i do C++ programming and I am stuck on this question. I don't remember how to solve this kind of question. haha Part 1: Develop a C++ program which asks the user for the choice of either 3x3 or 4x4 2-dimensional array (use …
by Qah25 in Programming ()
Member Avatar
Test Scores #2 Modify the program of Programming Challenge 2 to allow the user to enter name-score pairs using two parralell arrays. For each student taking a test, the user types the student’s name followed by the student’s integer test score. Modify the sorting function so it takes an array …
by crazyninja247 in Computer Science ()
Member Avatar
hi, so i am currenty working on a program that needs to ask the user for student name, and test score. it must use parallel arrays and must sort the scores ascending order from lowest to highest, with corresponding student name entered. and it must average the amount of scores …
by kenshinbatto92 in Programming ()
Member Avatar
so the program needs to dynamically allocate an array large enough to hold a user=defined number of test scores. once all scores are entered, the array should be passed to a function that sorts them in ascending order. another function should be called that calculates the average score. the program …
by Kenny_1 in Computer Science ()
Member Avatar
<!DOCTYPE html> <html> <body> <script type="text/javascript"> ... I want to compare the images of the arrays, if 3 images are strawberry there should be an alert box like "congrats you won" how can I do that ?
by arda_1 in Programming ()
Member Avatar
Hello, I've been working at this code from a couple angles, I've had two people I've known to help me, but even with their help it hasn't worked. The question I have relates to CodeLab: Write the definition of a function named printStarBucks that receives a non-negative integer n and …
by theoryforlife in Software Development ()
Member Avatar
I am new to coding and im having trouble with arrays in javascript. I want to be able to compare stuff inside an array but only if the three values match up to one of the sets of three values in the array ... but when I do this it …
by du_ebrithil in Programming ()
Member Avatar
Hello, I'm trying to plot this function with using this values: ... I'm trying to defind r like what i know but this dose not work, I'm getting this error: only length-1 arrays can be converted to Python scalars. may you please help me in this point? Thank you
by ALosh99 in Programming ()
Member Avatar
Hi Ive got 3 listboxs In Listbox 1 I have a list of names, listbox2 a list of days. These lists have been put into arrays _names & _days. What Im trying to do is join the 2 lists with a delimiter of "-" then display the joined lists in …
by warlock72 in Programming ()
Member Avatar
Was hoping someone could help me make changes to this. I don't really want to redo the whole program. Here's what it's asking. Write a program that allows two players to play a game of tic tac toe. Use a two-dimensional char array with three rows and three columns as …
by thekid772 in Programming ()
Member Avatar
We are suppose to create a program that will let us play tic tac toe. We are required to have 4 functions including main and use arrays as parameters to functions. Is my code correct?? Also there's something wrong with my code and can't figure it out. ...
by xcp3 in Programming ()
Member Avatar
Hi, i am trying to make a program which has to display some data which has been put in by the user over some time. The value the user inputs is a decimal, and should be displayed at the y-axis, while the x-axis should display the time the value was …
by Sanfu in Software Development ()
Member Avatar
the last array array 3 is not giving me the desired output. i see no logic errors therefore i do not know why i am getting the wrong output. ...
by Nyron in Programming ()
Member Avatar
I need to sort some information from an array. I'm trying to find the minimum value out of two numbers, from a csv file, the first part of the information in the file is the names of people, so instead of 0, I put 1 in int(row[1]) ... But then …
by Sibghah in Computer Science ()
Member Avatar
Just started learning MPI and all, need a little help with it though. ... Suppose n = 4. There are two integer variables a and b and two integer arrays C[n] and D[n]. What is the value of b in ... at process rank 0, 1, 2, 3? What is …
by kxjakkk in Programming ()
Member Avatar
Hi All, I have a nest list and i need to get the indivdual columns i can do a foreach and the sublist has the 4 arrays but i cant access each columns ... Thanks for the help. ...
by Khan2014 in Software Development ()
Member Avatar
Hello, I am working on a C# GUI in Visual Studio to write a program named ChatAWhile that allows a user to enter an area code and the length of time for a call in minutes, and then display the total cost of the call. The area codes given are …
by Siara in Software Development ()
Member Avatar
can someone tell me if this is possible for multidimensional arrays? revise the code if I am wrong actually I am creating a site for billboards reservation
by masterjiraya -3 in Web Development ()
Member Avatar
Write a program that reads integers, finds the largest and counts the occurrences. Assume that when the user enters it ends the sequence. Example : 3 5 5 5 0 Largest : 5 Occurrences : 3 I can't use arrays . I know I'm suppose to use loops but I …
by Max_14 in Programming ()
Member Avatar
hello every body here i got some problem with assign value to arrays, so i want to print multiplication table of the arrays: ... i'm getting like 00000 00000 00000 00000 00000
by chrisschristou in Programming ()
Member Avatar
Hello there, In my program I have an object of a class with some values, and I am trying to create another object, populate it to array and add it to my object. ... In DisplayClient Request i have an array passed to constructor of type AdvertisementType, and in AdvertisementType …
by Bartosz in Programming ()
Member Avatar
We have homework due tomorrow, and it's a three person group. I don't understand the slightest bit about arrays, but I've been trying - now the code just looks messy. Just with the things that say ------------------Tierra------------------, can you all help me? The book is useless and I'm just frustrated …
by Tierra in Programming ()
Member Avatar
I really need help creating this program, i am not very good at coding and you all would be a blessing to help me. Thanks in advance! Assignment Create an Aircraft class that has several properties that are common to all aircraft (Ex: number of engines, seat capacity). You define …
by jxxop1 in Software Development ()
Member Avatar
C++: I'm using Microsoft Visual Studio 2012 and I am not sure what to do about these two errors: ... Prompt: Make program that reads 20 integers, display that array, and find min, max, sum, and avg. One method named "read from user file" which will ask the user to …
by DS9596 in Software Development ()
Member Avatar
C++: I'm using Microsoft Visual Studio 2012 and I am really confused and am getting errors. Prompt: Make program that reads 20 integers, display that array, and find min, max, sum, and avg. One method named "read from user file" which will ask the user to input a filename and …
by DS9596 in Software Development ()
Member Avatar
Hi guys, My name is Leonard E Norwood Jr. I'm a senior at Norfolk State University and a beginning of programming. I'm just working on a small program on my own time to practice. So you're familiar with the playing cards and the logic of dealing a deck with 4 …
by Leonard_3 in Programming ()
Member Avatar
Hi all, I am using a for statement to generate lots of arrays, example: ... But, I want to have them all within 1 array, example: ... Am I able to do this within my for statement, which is currently: ... My research online has just turned up merging or …
by James_43 15 in Web Development ()
Member Avatar
Hi there, I am trying to populate a page with multiple rows from a mySQL database. To grab the data, I am using: ... That creates a mutil-dimensional array. However, when I try to access that data things go a bit weird. For example, ... should output the name from …
by James_43 15 in Web Development ()
Member Avatar
Hi i have a bit of code: On the 1st day of Christmas, my true love sent to me A partridge in a pear tree. On the 2nd day of Christmas, my true love sent to me Two turtle doves, And a partridge in a pear tree. On the 3rd …
by LibraryCode in Software Development ()
Member Avatar
Hi all i generated table,but it looks like the code is a bit messy,long,how can i do the same with the arrays or loops? ...
by LibraryCode in Web Development ()