- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 4
- Posts with Downvotes
- 3
- Downvoting Members
- 4
Re:
I already wrote an ATM program which did store only three account number, password and balance but now I want to get these information from a file which would be read to the program and by entering the information the program should search the file and find the line that … |
|
hello. I need some help on our implementation on lines of code program. here's the algorithm we have: 1. The LOC program will start by asking for the filename of the program to be counted. 2. Browse for the filename of the program to be used. 3. The contents of … |
|
Re:
Is it possible to change my username? If it is, can i do it myself, or does a admin have to do it for me? If the last one, could an admin please change my username from "Little and good" to "SWAT"? |
|
Re:
This is not much of a question, but a discussion and searching for opinions. I have seen that many use the Scanner class for getting input from the keyboard. Some, like myself, use the BufferedReader. Why will someone use one over the other? Or they both do the same thing … |
|
i'd like to ask if to is calculate the turn around time of a particular process is: turn around time = burst time - arrival time ?? and what about response time and waiting time? like in a preemptive scheduling where a process is preempt when a new process enters … |
|
hi. I am wondering, how do you edit the thread you have posted already? or delete your attached file to attach a new one...?? |
|
my desired output is this: Input number of process to simulate SJF: 4 Input burst time for each process: P1 = 7 P2 = 4 P3 = 1 P4 = 4 Input Arrival Time for each process: P1 = 0 P2 = 2 P3 = 4 P4 = 5 Now … |
|
i have declared [CODE] char arr[10][10]; [/CODE] and did this: [CODE] for(i=1;i<=n;i++){ arr[i] = (char)i; } [/CODE] but it wouldn't work.. i want to put the number inside the array.. y does this error? |
|
Re:
This code calculates and the average waiting time of the process given acc to their burst time..It is a famous scheduling algorithm for process scheduling in operating sysytem . After calculating waiting time it also generates the gantt chart for the process given . |
|
Hello. Anyone familiar with the Halstead product metrics? we are going to implement it. and again i need some help. here is our algorithm: 1. The user runs the program. 2. The program will ask the user to browse the file he/she wants to be evaluated using the programer's own … |
|
Hello every one. Basically i am trying to construct a binary tree. but there's a problem. When i run the program, there is an error. somewhere in the treeInsert method(). I am having difficulty because the root is not node, it is an integer value. then the left and right … |
|
I have a problem: 1.) How do you insert a sequence of integers into a binary tree? does anybody have an algorithm for it? like input : 1, 5, 3, 4 ,2 binary tree: 1 5 3 4 2 |
|
In a queue, where elements in integers are added, how do i do this: Inside the queue: 1 2 3 5 6 8 when I want to add a number, say 4, the output should be like: 1 2 3 [B]4[/B] 5 6 8 in which it inserts in between … |
|
When you put an item on a queue, how do you show the items inside the queue? do you use peek method? the situation is a linked queue... |
|
hello.. i really need help.. I don't know why i keep on getting an empty stack if i pop a token from stack even if user has already push a token into it.. [code=java] public class MStack implements Stack{ public Node top; public Node[] stack; public static int T[]; public … |
|
can anyone clarify to me what this means? it's kind of comfusing..:) [B]linked stack embedded in a sequencial vector[/B] |
|
before anything else, i have a question. How can you have a multiple stack in one vector using node/linked list? i don't get the concept of linked list yet. Anyways, this is my problem: [B]Create a Java class definition of a multiple-stack in one dimensional vector. Implement the basic operations … |
|
A book shop has bookshelves with adjustable dividers. When one divider becomes full, the divider could be adjusted to make space. Create a Java program that will reallocate bookshelf space using Garwick's Algorithm. Can any give me some pointers with this ? thanks. |
|
i am trying to write a code that stimulates an simple ATM. i have two class, one for the Bank Account and another for the ATM itself. [code] public BankAccount(String name1, int acctNum, int pinNum ){ name = name1; accountNumber = acctNum; pinNumber = pinNum; balance = 100.00; } public … |
|
This is what i did for the factorial assignment that we had.. but i have a little trouble in my recursionFactorial method.. can anyone help? tnx public class Factorial { public static void main(String[] args) { int index = JOptionPane.showConfirmDialog(null,"Would you like to compute\n" + "for the factorial of a … |
|
what does it mean when you say' reading a java text file?' what does it mean when you say 'writing a java text file?' |
|
what am i going to do? we are tasked to create a shopping cart. Product list should be stored in a text file. I have it already, the thing is when the user would buy a certain quantity of a certain product, let say Product list: [U]item# price quantity[/U] pencil … |
|
i don't get it how do you create a text file? i've read some tutorials but still can't understand.. some1 help me? |
|
hello, it's me again. As you have noticed, i am working on an assignment that my teacher gave me. It's 20% of my midterm exam. I posted the threads "Need urgent help! please", "I need help with my program", and the "Help with my main method." I am having problems … |
|
[code=JAVA] import java.io.*; import java.util.*; import javax.swing.*; public class Calculator { private static Stack operators = new Stack(); private static Stack operands = new Stack(); public static void main(String args[]) throws IOException { JOptionPane.showMessageDialog(null, "Hello user! I hope you have a great time using this. = ]", "Welcome", JOptionPane.PLAIN_MESSAGE); JOptionPane.showMessageDialog(null, … |
|
held me get rid of this virus in my flash disk? anyone?? please.. using command prompt? |
|
i have this virus in my flash disk, how do i remove this? please help? |