Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
50% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
~17.1K People Reached
Favorite Tags

79 Posted Topics

Member Avatar for like_bilal02

You will need to use "if" statements as well as "SUMIF". For example, you column headers in row#1 will be A-F as stated above. Make 4 examples of the things you need (make sure your numerical values are either positive or negative...out should be negative): 1. (report#) 1 / (status) …

Member Avatar for PDB1982
0
148
Member Avatar for PDB1982

I was wondering if anyone can tell me what is wrong with this code in EXCEL. I'm trying to fill in one cell (in this case, K2), based on the wording in an adjacent cell (in this case, J2). If J2 does not state "PENDING", then I want to reference …

0
102
Member Avatar for PDB1982

I am trying to learn SQL programming in my spare time, but I'm running into some issues. I currently have Visual Basic Studio 2010 installed, as well as Microsoft SQL Server 2008/2012. I've been told that I should be using MySQL to practice the coding. Should I lean towards MySQL …

Member Avatar for Reverend Jim
0
207
Member Avatar for PDB1982

I'm trying to generate a random number for each field in column "A" of my spreadsheet, and I have been trying to experiment with the following formula: =LARGE(ROW($1:$1000)*NOT(COUNTIF($A$1:A4, ROW($1:$1000))), RANDBETWEEN(1,1000-ROW(A4))) This is giving me the numerical values that I want, but is affecting both Columns "B" and "C" as well. …

Member Avatar for Stuugie
0
197
Member Avatar for PDB1982

I am trying to figure out how to make a form quicker to fill out for my work, and it involves having a employee enter a patient's name in one text box, and then having that information duplicated in all other name text boxes. Here's what I'm thinking.... function FillName(f) …

Member Avatar for ChrisPadgham
0
289
Member Avatar for PDB1982

How do I get the correct response to print out? [code]import java.util.*; import java.io.*; public class MultipleChoiceTest { public static void main (String[] args) { Scanner input = new Scanner( System.in ); String Question; String FirstName; String LastName; String Answer; double CorrectTotal; double IncorrectTotal; double TotalQuestions; double OverallTotal; System.out.println("Please Enter …

Member Avatar for Majestics
0
141
Member Avatar for PDB1982

I'm thinking about making a multiple choice test progam with several hundred questions that I want to have randomly asked within the program. What would be the language of choice to do so?

Member Avatar for WaltP
0
251
Member Avatar for PDB1982

I can't figure out for the life of me why the names of the square and rectangle won't show up....can anyone help? [code] public class Square extends NamedShape implements Shape { public void Length() { System.out.printf("Please Enter Length Value: ", this.getLength()); } public Square(String name) { super(name); System.out.printf("Shape:", this.getName()); } …

Member Avatar for apines
0
107
Member Avatar for PDB1982
Member Avatar for JamesCherrill
0
97
Member Avatar for PDB1982

How do I, if it's possible, take in user input to fill an ArrayList<Integer>? This is what I have so far, but the code doesn't let me incorporate user input. I'm having a hard time figuring this one out... [code] import java.util.*; public class Duplicates { Scanner input = new …

Member Avatar for eman 22
0
999
Member Avatar for PDB1982

I'm trying to find a way to find, and remove, duplicates in an ArrayList without using sets or hashes. This is what I have so far, but I keep getting the following error: [code] import java.util.*; public class Duplicates { Scanner input = new Scanner( System.in ); int i; ArrayList<Integer> …

Member Avatar for PDB1982
0
465
Member Avatar for PDB1982

Why am I getting this error: [code] Please Enter 5 variables: Please enter value in slot 0:1 Please enter value in slot 1:2 Please enter value in slot 2:5 Please enter value in slot 3:4 Please enter value in slot 4:2 [COLOR="Red"]Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5 at Duplicates.NumberCheck(Duplicates.java:32) at …

Member Avatar for PDB1982
0
91
Member Avatar for New2Java2010

Here you go...this should get you started. As NormR1 mentioned above, you were taking in grades and converting them, automatically, to the ASCII code which would make them always below 60. You needed to take the keyboard input and user the numberical Int value only: [code] import java.util.Scanner; // needed …

Member Avatar for NormR1
0
287
Member Avatar for PDB1982

I'm trying to find a way to search an array to see if the values entered bu the user are already in the array. For example, if numbers[0] = 1, and the user tries to input numbers[1]=1, then I want the program to kick an error back that won't allow …

Member Avatar for kvass
0
92
Member Avatar for PDB1982

I can't figure out what the error means that I keep getting on my loop. I have it set to only take 5 arguments, which is my limit, but I can't tell what it's saying: [code] Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 4 at Duplicates.EnterNumbers(Duplicates.java:20) at Duplicates.main(Duplicates.java:28) [/code] Here's my code: …

Member Avatar for kvass
0
156
Member Avatar for PDB1982

How can I code to restrict the users input to 5 numbers and no more or less....I can't think of a good way to do it. [code] import java.io.*; public class Palindrome { public static void main(String [] args){ try{ BufferedReader object = new BufferedReader( new InputStreamReader(System.in)); System.out.println("Enter number"); int …

Member Avatar for tong1
0
110
Member Avatar for PDB1982

I can't seem to get my counting loop to stop if m OR n are <=500. The loop stops only when m hits 499 right now, but I need it to cancel if n is 499. I have tried using a break statement, but I'm not sure what else to …

Member Avatar for jon.kiparsky
0
152
Member Avatar for PDB1982

I am trying to build a very quick invoice type program, and I can't seem to get the final total to print. I am calling the function for it, but it's not printing anything to the screen...any suggestions? [code] public class Invoice { private double Total; //Constructor public Invoice( double …

Member Avatar for tux4life
0
97
Member Avatar for PDB1982

Can someone explain to me, the purpose of the "public" and "private" options of a class?

Member Avatar for Knightly
0
557
Member Avatar for PDB1982

I am having some trouble drawing a circle that is constant when the program runs. right now I am able to create one of my clock hands (that is going counterclockwise), but I can't figure out how to draw the circle of the clock..any suggestions? [code] Option Strict On Imports …

Member Avatar for Luc001
0
180
Member Avatar for PDB1982

I'm new to VB, and I'm having some trouble creating an array of random numbers between 100 and 150 (where the numbers represent # of students). I'm not sure what I'm doing wrong, but my textbox is showing 0, no matter how many times I press the generate button. here's …

Member Avatar for PDB1982
0
1K
Member Avatar for PDB1982

I had my code working properly, but once I added my last array, it goes through the compile and then errors out....and I'm not quite sure why.... [code] #include <iostream> #include <fstream> #include <cstdlib> #include <cmath> using namespace std; int main() { double num[100], sum, count, newnum[100]; int j,i; ifstream …

Member Avatar for PDB1982
0
82
Member Avatar for PDB1982

How would I, if it's even possible, create an array to read/store the input values from a input text file? Here is what I was thinking, but I want to pretend as if I don't know the amount of values in the file. Input File Has: 21.22, 13.23, 43.12, 123.54, …

Member Avatar for mrnutty
0
87
Member Avatar for PDB1982

How would I, if it's even possible, create an array to read/store the input values from a input text file? Here is what I was thinking, but I want to pretend as if I don't know the amount of values in the file. Input File Has: 21.22, 13.23, 43.12, 123.54, …

0
71
Member Avatar for PDB1982

First off, I'm not looking for any code or code suggestions, I just want to pass this by some people before I have to submit the idea to my professor. I want to know if this sounds like a good beginner's project for .NET: title: Music Identification Tool Actions: Users …

Member Avatar for CSherman
0
94
Member Avatar for PDB1982

I can run the code fine without the Option Strict on, but once it's turned on, I run in to a "Option Strict On Disallows Late Binding"...why!?! I can't figure out how to fix it.... [code] 'Option Strict On' Public Class StateFinderForm Private Sub FullStateNameRadio_CheckedChanged(ByVal sender As System.Object, ByVal e …

Member Avatar for PDB1982
0
135
Member Avatar for PDB1982

Is there anyway to carry one combo box from one form to another without the use of loops? I'm trying to figure out if it would be easier to represent a comb box in a new form, or if it would be easier to show it in a print preview …

Member Avatar for kvprajapati
0
89
Member Avatar for PDB1982

Is there more than the following ways to capture a screen shot? I'm looking for a way to copy the expanded menu items in a Windows Form: I've tried the following: 1). PrintScreen - captures the entire screen, but is too big for what I need 2). ALT + PrintScreen …

Member Avatar for Biker920
0
215
Member Avatar for PDB1982

I keep getting the following error: [code] Error 1 error C2678: binary '+' : no operator found which takes a left-hand operand of type 'int' (or there is no acceptable conversion) [/code] and I can't figure out how to fix it...I believe it has something to do with the red …

Member Avatar for PDB1982
0
184
Member Avatar for PDB1982

Is there anyway to do a screen capture that will include the menu strip if expanded? I know ALT + PrintScreen will do a capture of the current view, but once I hit the ALT key, the menus disappear...

Member Avatar for Oxiegen
0
69
Member Avatar for PDB1982

I have a groupbox called "GradeGroupBox" that contains 4 radio buttons for each high school grade. I also have a clear button which, when pressed, should deselect any values in that box. how can this be completed? I know how to do each one individually, but is there a way …

Member Avatar for Luc001
0
83
Member Avatar for PDB1982

I'm trying to create an overload of the "+" within my program to add a private constant value to an already establish polynomial, but the last portion of my code comes out with the following error: [code] Error 1 error C2677: binary '+=' : no global operator found which takes …

Member Avatar for david.k
0
178
Member Avatar for PDB1982

I'm trying to understand how static ints work within classes, and I've fallen on some code that I don't quite understand how the answers come out to be what they are showing. [code] // static members in classes #include <iostream> using namespace std; class CDummy { public: static int n; …

Member Avatar for pecet
0
136
Member Avatar for PDB1982

I can get my code to compile and produce correctly (as I want it right now), except for one problem: Output: [code]What Degree Polynomial: 2 Enter Coefficient #: 8 Enter Coefficient #: 5 Polynomial selected is: 8x^(0)5x^(1) What Degree Polynomial: 3 Enter Coefficient #: 4 Enter Coefficient #: 5 Enter …

Member Avatar for jonsca
0
99
Member Avatar for PDB1982

If I upgrade to Windows 7, on my home desktop running Vista, will I lose all of my information that is currently on my hard drive?

Member Avatar for qlcooper
0
109
Member Avatar for PDB1982

I am trying to create a rational numbers program from scratch (I'm a brand new student basically), and I have all my inputs working right now. My problem lies within my showFraction() function, but I can't figure out how to fix it. It should output the inputs from the user …

Member Avatar for tetron
0
530
Member Avatar for PDB1982

I am able to have checked menu items show the variables that I need to show, but they don't uncheck themselves unless I go back and click them. I want to have only one checkmark on a country at a time...is there any way? I've tried if...elseif , but that …

Member Avatar for L0u3
0
837
Member Avatar for PDB1982

I have created an error for letting the user know when they have missed putting input into a text box. When I go to use my clear button, I can't get past the message that says I (the user) need to input information. Is there a way to ignore a …

Member Avatar for kvprajapati
0
73
Member Avatar for PDB1982

Here is my assignment: "Define a class for rational numbers. A rational number is a number that can be expressed as the quotient of two integers. For example, ½, ¾, 64/2, and so forth are all rational numbers. (By ½ and so on we mean the every day fraction, not …

Member Avatar for tetron
0
2K
Member Avatar for PDB1982

I am having trouble overloading my function JustSold() with the array for CartSales[x].Cart . I can't seem to get the array to properly import....any ideas? [code] #include <iostream> #include <fstream> using namespace std; class HotDogStand { public: void JustSold(int DogCounter, int numCarts, [COLOR="Red"]int HotDogStand[][/COLOR]); int Cart; int IdNumber; int SalesToday; …

Member Avatar for PDB1982
0
114
Member Avatar for PDB1982

I'm getting the following error and I don't know how to fix it: Error 1 error LNK2001: unresolved external symbol "public: static int HotDogStand::DogCounter" (?DogCounter@HotDogStand@@2HA) CartTesting.obj CartTesting I'm trying to use the HotDogStand::JustSold() function to increment the DogCounter variable by 1, or none (depending on user entry). I think my …

Member Avatar for mitrmkar
0
87
Member Avatar for PDB1982

I'm trying to see if there is a better way to go about getting the number of carts that the user inputs, instead of mandating that they have exactly three. My assignment calls for the following: "You operate several hot dog stands distributed throughout town. Define a class named HotDogStand …

Member Avatar for WaltP
0
173
Member Avatar for PDB1982

I am trying to start the odometer reading at 0 to start with, but I want it to increase everytime the user inputs MilesDriven. I can't seem to get it to work...any ideas? [code] //Paul Baker //TRCC Intermediate C++ //Assignment 3, Odometer #include <iostream> using namespace std; class Odometer { …

Member Avatar for PDB1982
0
94
Member Avatar for PDB1982

I have to create a program that handles random birthdays between 2 and 50 students (depending on what the user inputs), and calculates the random birthday (1 to 365) and then determines whether or not students share the sam birthday, and how many students share it. I'm stuck on how …

Member Avatar for jonsca
0
196
Member Avatar for PDB1982

I'm trying to find a set of random numbers between 1 and 365, so I tried to use: [code]DayOfBirth = rand() % 365 + 1;[/code] But, I've been told that srand() will produce a better random number, is this true? How do I use it for this instance?

Member Avatar for mrnutty
0
459
Member Avatar for PDB1982

Can anyone help me with this one? I have the following code and produces an output, but the Probability stays at 1 regardless of how many students I input....Any ideas? [code] #include <iostream> #include <fstream> #include <cmath> using namespace std; void main() { int numStudents, DayOfBirth, cnt; double Probability, Power; …

Member Avatar for PDB1982
0
52
Member Avatar for PDB1982

I'm trying to create a form that has a text box that only accepts text entries (i.e. no numeric entries). I can't figure it out....this is what I have so far... [code] Private Sub textName_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles textName.TextChanged If textName.Text.Trim <> "" Then Try …

Member Avatar for apegram
0
78
Member Avatar for PDB1982

I'm trying to study for my A+ exam, and in doing so I am having trouble finding a free computer program that asks relevant questions. With that being said, I'm looking to build my own which will help myself, and possbily future generations. My problem is, that I don't know …

Member Avatar for iamthwee
0
83
Member Avatar for PDB1982

I'm now stuck on trying to figure out why my letterGrade function isn't working....I'm trying to take the numerical values found right before it, in the Avg colum, and turn it into a letter grad (which I assume needs to be as a string). Any suggestions? [code] Total Number of …

Member Avatar for Zjarek
0
230
Member Avatar for PDB1982

I am trying to figure out why my letterGrades and highest function aren't working.....I'm more clueless on the letterGrade portion, as I believe that my highest function is a simple fix that I'm just not seeing. With the letterGrade function I am trying to assign a letter grade to each …

Member Avatar for mrnutty
0
162

The End.