We use Differnet Payment methods Like: Paypal, perfect money, Skrill, Webmoney, EBS. Suggest us some more Payment Modes where clients should feel More comfirtable with... +0 I want to increase my knowledge of PHP by learning about classes. I wrote the following very simple test program. It works. But I would like to know improve it. I plan on writing more complex test programs and that won't be the time to iron out smaller issues. Thanks in advance. length = $Length; … +0 Hey guys! I am trying to map the following dictionary >. I am trying to get the i-th permutation of an input array, the List being the i-th perm itself. If I have: Input Array [1,2,3], the 0-th perm would be [1,2,3], the 1-st [1,3,2] and so on... So, so far, the Dict would have {[0,{1,2,3}] , [1,{1,3,2}]}. All sounds great, but after i reach i = 2 and need to carry on, I just don't seem to be able to get the next permutation list back! Help! public class LehmerCode { public LehmerCode() { } private List GetFactorial(int nthPerm, … +0 Greetings, I'm working on a class project for fractions and I'm stuck and cannot figure out where to go from here. We have a mandatory driver file we aren't supposed to change. See below for example output and the output I am actually getting. **Sample Output** Enter numerator; then denominator. 5 8 5/8 Enter numerator; then denominator. 4 10 4/10 Sum: 82/80 1.025 Product: 20/80 0.25 Enter numerator; then denominator. 6 0 infinity Driver file import java.util.Scanner; public class NathanialProg7 { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); Fraction c, d, x; // Fraction objects System.out.println("Enter … +0 One of my assignments, that I already turned in, dealt with collecting a student's name and gpa, and storing the information in an array. Afterwards, we were asked to display the student's information in descending order based on their gpa. I was curious if anyone has any suggestions on improving the code. This is my student class: /** Define a class Student. Each student is defined by: * a string name * a floating-point GPA */ import java.util.*; import java.text.DecimalFormat; public class Student { private String name; private double GPA; //to enter the data for a new student public Student() … +0 I know this has been asked before, but I can't find any simple answers for a noob like me in C#. What exactly is a static method. I mean what does it mean to be static vs. nonstatic. I know in the code with the main method we use public static void Main(string []args) what does the static change about the main method that distinguishes it from the rest in regards to it being static. - Thanks +1 **Introduction** Hi guyz today I am going to writing a tutorial on dictionaries in Python....As per as getting comments from my readers I'll try to make this tutorial short.... **Layout** 1.What are dictionaries? 2.Why dictionaries? 3.How to declare/make dictionaries in Python? 4.What all you can do with a dictionary? 5.Interesting Functions? 6.Dictionary Methods? **What are dictionaries?** Dictionaries are simply another type of Sequence in Python.. Like in English dictionaries you search for a word and its meaning … Same happens in python... Dictionaries in Python have a “key” and a “value of that key”... That may seem strange for the … +0 Please, i need a thorough tutorials on METHODS AND HOW TO CALL THEM. I also need some elinghtenment on classes in java. I want to really understand this concepts in java. +0 Trtying to figure out how to add 5 different methods into this class when the program already does all that is required but my prof will knock me if I dont put them in here, do thet need to be put in as private? +0 Hello good afternoon. I have successfully serialized data in the past, however it seems as if I don;t fully understand the process. I have a class called ProgramState which stores a variable (called lastCreated) with custom class LinesProject and an ArrayList variable(called recentProjects) of this custom class. The purpose of these variables is to store the last created project as well as a list of five recently opened projects. Here is ProgramState: public class ProgramState implements Serializable{ private LinesProject lastCreated; private ArrayList recentProjects; public ProgramState() { lastCreated=new LinesProject(); recentProjects=new ArrayList(); } public ProgramState(LinesProject proj) { lastCreated=proj; recentProjects=new ArrayList(); } //Setters … +0 Hello I am trying to create a class that called Lootable and create subclasses such as trunk, locker, etc. that will contain items that can be looted, they will inherit their lootability from the Lootable class. I am thinking of using the ArrayList for this. I have thought of different ways to go about this and have written some code but I am having some difficulties. This is for and assignment and my app idea goes somewhat beyond the requirements of the lesson and no I do not expect someone to due this for me I would however like some … +0 I'm trying to create a list stack that implements some interface called SomeList The list stack should only use stack with no links. the itnerface has a number of methods that I would like to implement. So for SomeList I have something like public interface SomeList{public void plus(T something);public E takeout(int somewhere); and so on} For the generic ListStack I have something like public class ListStack implements SomeList{ Stack stack1=new Stack(); //constructor public LinkStack(){ stack1=new Stack(); } //method public void plus(T somethig){ this.push();} . . . } In the method above (plus(T something)) I get an error on push. Eclipse … +0 Im kinda still new at java and with help, developed a java file that will take numbers from a text file and calculate a invoice that will format like this: Invoice -------------------------- Account Amount Due 10011$12.25 10033 $11.70 -------------------------- Total$23.95 I got it to print out to console and the last thing I need to do next is create a "invoice.txt" textfile that will write the output + the format of it. I know how to use printerwriter and fileoutput stream to put create text from inputs but not sure how to do the output of a program. … +0 I am writing a program that a user inputs a 8 digit binary number and I need to convert it to a decimal number. I am trying to figure out a way for the user to enter the binary number without any deleminators, but be able to manipulate each digit of the number seperately. Any ideas +0 Let me know Software Development Methods and Testing methodology for designing software for multimedia tablet. +0 Hello, I'm trying to program a basic program at the moment and have run into some difficulties. I have a method as follows: public static void loadDB() { // load data into datasets - this will be called on form2 the login screen loadTblStaff(); loadTblCars(); } the method is called on another form on load. The methods its supposed to call are as follows: public static void loadTblStaff() { // prepare, open and load the staff table into dataset ds2 con.ConnectionString = dbProvider + dbSource; MessageBox.Show("loadTblStaff() called"); con.Open(); MessageBox.Show("load table staff connection opened"); sql = "SELECT * FROM tblStaff"; ds2 … +0 I have been struggling with this since yesterday and I really need to get it finished. I have no clue why its not working. THe porblem im facing at the moment is as follows: I have a method loadDB(); That is looks like this: public static void loadDB() { // load data into datasets - this will be called on form2 the login screen loadTblStaff(); loadTblCars(); con.ConnectionString = dbProvider + dbSource; } I have stepped into the program and placed breakpoints and the method never does anything other than call the first method. Then it jumps off to the next … +0 Hey Guys, So I was doin a tutorial and I incorporated it into my code and it works for the most part. The program gives you a list of town names you pick one and hit search. All good so far then the program goes into the database and pulls the relevant info from 6 tables and they display in the next gui on a Jtable. Only problem is the column header are taken from the database aswell but I want Generic column titles as the ones from the table reflect the table they were pulled from and since there … +0 Hey everyone, I am having trouble on this one practice problem. It is a question that requires another question I already completed to solve this one. The qusetion is "Implement a method allPerfect() that takes an integer parameter end. The method prints every perfect number from 1 to end. Use the method isPerfect() above to check if a number is perfect. " I am confused on how to use isPerfect to check if the number is perfect or not. Any help would be greatly appreciated. This is my isPerfect code: import java.util.*; public class isPerfect { public boolean isPerfect(int num) … +0 For example let's say we have the property called Customer that returns a value of name String name; <== Global Variable public String getName() { return name; } public String setName(holdingName) { name=holdingName; } and a constructor called Match public FullName(String realName) { holdingName = realName; } Can I do what I have done up there? I know it does not work, but is there any way to make it work? Please let me know if you need further information to get this question answered.. Thank you +0 Im trying to call the method "public void insertCard(int p)" within the same class into the method " public void deposit (double amount) " My code for both methods is displayed below. the objective would be to have the deposit method return the last print statement if the card is not inserted/pin is not true. **Insert Card : ** public void insertCard(int p) { if (p == pinNumber) { card = true; System.out.println ("Hello " + firstName + " Welcome to LLS Bank!"); } else { card = false; System.out.println ("Incorrect Pin Number, Please Try again."); } } **Deposit Method: … +0 I have 2 classes. AddressBook and SingleAddress. AddressBook is supposed to contain SingleAddress. I'm omitting the #include and some of the extra functions. Here's SingleAddress.h class SingleAddress { private: string lastName,firstName,strAdd,city,country,email; int postCode,homeNum,mobileNum; public: SingleAddress( string s1,string s2,string s3, string s4,string s5,string s6, int i1,int i2,int i3); string toString(); }; SingleAddress.cpp SingleAddress::SingleAddress(string s1,string s2,string s3,string s4,string s5,string s6, int i1,int i2,int i3){ firstName=s1; lastName=s2; strAdd=s3; city=s4; country=s5; email=s6; postCode=i1; homeNum=i2; mobileNum=i3; } string SingleAddress::toString() { stringstream info; //last name, first name, street address, city, country, postal code, home phone number, mobile phone number, email address info<<"First name: " <k) { k=c[t]; g=1; } t++; } } return k; +0 Here's my assignment question: > **Develop a Payroll class that consists of two user-defined methods, namely calculateNetPay() and printOutput() methods. The calculateNetPay() method is used to calculate the employee's net pay, as the formula follows: > > Net pay = gross pay - state tax and federal tax > > In the same class, print the net pay value in the printOutput() method. > > Then, develop a PayrollDemo class which consists of the main method. Inside the main method, prompt a user to insert employer ID, gross pay, state tax, and federal tax. Create an object to invoke calculateNetPay() … +0 I'm taking a beginning java class and I'm trying to create a helper method to get a input from a user and combine all four methods into a package I can use in my programs after. I keep running into trouble with the last method, getMenuStringFromUser, the error it gives me says java cannot find symbol method getIntegerFromUser(java.lang.String,int,int) here's what i have so far package bulletproof; import java.util.*; //BULLETPROOF METHOD FOR INTEGERS // better general method with low and high limits class getIntegerFromUser { public static int getIntegerFromUser(String prompt, int low, int high) { Scanner keyboard = new Scanner(System.in); while … +0 Hi everyone, I am brand new to Java and I like it a lot so far. I am very stuck on an assignment for school that I need help with. We are just learning about method invocation, how to write and call methods in Java. My program should take user generated input for a radius value and output the volume, area, and radius of a sphere in a dialoge box. The Output/Input classes are just classes my professor wrote to allow us a pretty interface (we haven't used sys.out.println yet). I cannot get my method invocation to work. The compilation … +0

The End.