when I run my program it give me this result [[I@4e280c ?!
it's give me same error in these method!! How can i fix it?? public static int[] allRowSums(int[][] a) { int[] sumRow = new int[a.length]; for (int row = 0; row < a.length; row++) { for (int col =...
View ArticleError parsing the query -DBCC
Hello guys. I have an error: I want when I delete a row and if was only one to reseed the ID so I created this: Function ReseedTable(ByVal TableName As String, ByVal Value As Integer) Dim cmd As...
View ArticleCalculating Dates for a schedule
I am looking for some assistance in calculating the due dates for a new scheduling system. At present a schedule is based on Monthly or Weekly payment, starting from a defined date. In the new schedule...
View ArticleAssistance for Better Coding (Rolodex Menu)
Hello Everyone, Below are my files for a simple C++ Rolodex Menu (Could not upload due to file type?). The program is fully functioning and meeting all my requirements, but, I know this could be coded...
View ArticleRefresh JTextArea
Hi there! I wonder if anyone can help me out. I have to make a code for a certain type of bar, where the prices change everytime someone buys a drink (example: customer buys 3 beers, the prices of all...
View ArticleHelp with Airline Reservation Project in C
I was given an assignment with the following parameters: The Cape Fear Airlines has one plane with a seating capacity of 12. It makes one flight daily. Write a seating reservation program with the...
View ArticleNumber Frequency with Arrays
Here is the assignment: Design and implement an application that reads a number of integers that are in the range 0 to 50 inclusive and counts how many times each one is entered. After all input has...
View ArticleUsing ArrayList ( Bank Account )
The first, I'm sorry because I learn English not good. I have 2 class (SavingAccount & CheckingAccout) extends BankAccount. Now, I want to create ArrayList<...> include: saving &...
View ArticleGenerating random numbers
Well, I got a question again that I was asked to generate random numbers from range 1 to 100, afterwards displays the list, that is higher the average of the list. For example, if I generated 10...
View ArticleAdvice on planning a text based browser game in PHP
Hi, I am interested in creating a text based browser game. I am currently familiar with HTML, CSS, PHP, MySQL & a small bit of javascript. Would it be possible to create a large scale browser game...
View Articleproblem with working out average of unknown numbers
i have to work out the question below. i have to use this same format too but having problems figuring out where I'm going wrong. thanks in advance. /* Write a program which averages a sequence of...
View ArticleQuestion how to get back to start of code
If i put a string into x i want it to go back to the start of the code and let the "user" to input the INT again but instead i get the exception "invalid input" wont stop searched all over google cant...
View ArticleStoring Objects ByRef
So this is going back to the concept of Pointers in C++. Basically, what I want to do is instantiate an Object in one class, pass it to another ByRef (which should work like a pointer, right?) and then...
View ArticleProgrammatically dealing with embeded 3d
First time poster long time lurker, I was hoping someone could steer me in the right direction for an upcoming upgrade I wanted to add to an app. I dont necessarily need specific coding advice (at...
View ArticleDisplaying all code dymanically
Hi, For my Database-Driven Websites project I have had to make a dynamic website. One of the requirements is I need a hyperlink to display the code used on each page. Is there a method to do this...
View ArticleIf statements && mod not working as expected
For some reason the overiding qualifiedforscholarship method is always returning true for grad and law students. Mark Adams and Joan Short should be returning false Name: Fred Blunt SSN: 111-11-1111...
View Articlehow to calculate leave returnDate based on numberOfDays and startDate
Can anyone help me calculate leave returnDate based on numberOfDays and startDate excluding weekends (sundays, saturdays) in vb.NET
View ArticleIdentifing an isolated character in a matrix
Hi guys, I've been thinking how to solve this problem the whole day. Problem description Let's suppose you have a matrix composed of 1's and 0's.(*) Write a function that recognises if there is at...
View Articlegetting wrong O/P for find average code using function
i have written code to find average and percentage using function and pointer. but the output is going wrong. example - average for 50, 50 and 51 is 50. #include<stdio.h> #include<conio.h>...
View Articlehelp with do while loop code
do { y1=f(x1); y2=f(x2); x3=x2-(y2*(x2-x1))/(y2-y1); x1=x2; x2=x3; cout<<"x3 is: "<<x3<<endl; a=a+1; } while (a<=3); cout<<"the secant root is: "<<x3<<endl; In...
View Article