No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
15 Posted Topics
The code I have written so far only blinks constantly regardless of which switch is HIGH or LOW.. I can't seem to figure out how to make one switch faster than the others because it would either blink all switches at same rate or remain steady (doesn't blink). Could anyone … | |
I'm trying to call two methods from main but I'm not sure how to do it. I know the program isn't completed but I want to get this done first so I can test whether it's working correctly. Could anyone help me out? [CODE] #include <stdio.h> #include <stdlib.h> void print_triangle_info(int … | |
Here is the instruction to the assignment: [url]http://dl.dropbox.com/u/43732846/Instruction.txt[/url] I think I got up to the part to initialize array and set length to 0 but I'm not sure how to do a for loop to print. I tried like strlen(month), printf(month[i]), etc, but none of them seems to work. And … | |
This is what I have so far. I have to create array of 10 int values as local variable then iterate through the array elements using pointer, print address, and value of the each item. But this is my output. It should print values from 0 to 10, but mine … | |
It compiles and run but I'm stuck on the last part - I can't figure out how to iterate through the LinkedList and delete all students whose birthYear is greater than 1995 (print only students whose birthYear is less than 1995). I have to iterate after inserting all records into … | |
I'm writing a reverse Polish calculator. If the input is 1 2 - 4 5 + *, the output should be 9, but I'm getting -9. Does anyone see where the problem lies? Thanks! [CODE]#include <stdio.h> #include <stdlib.h> // for atof() #include <ctype.h> /* denifitions for main() */ #define MAXOP … | |
My program compiles and runs, but does not print any output. It is supposed to read the text file and output lines that contain the pattern (which this in case is Bob - so it should print Bobby, Bobbie, etc if those names are in the text file).. This is … | |
I updated JDK/JRE to the latest Java SE 7 version but I was wondering what's the environment path to it. I remember Java 6 Update 26 used to be C:\Program Files (x86)\Java\jdk1.6.0_26\bin So would Java SE 7 be something like C:\Program Files (x86)\Java\jdk1.7.0_00\bin I wasn't quite sure because this version … | |
[url]http://img838.imageshack.us/img838/2795/problemx.jpg[/url] I'm completely lost.. could anyone help me get started writing pseudocode? Thank you! ![]() | |
[url]http://img195.imageshack.us/img195/6971/treeqg.jpg[/url] This is my tree.. one on the top is before and one on the bottom is after the change has been made.. did I do this correctly? Thank you in advance! | |
Here is my code: [url]http://pastebin.com/KTR86nzD[/url] This is input.csv: name,age Fred,88 Stella,11 Nellie,99 George,22 Violet,33 Rose,77 Bob,66 Lena,55 Billy,44 It should print the above in this format - Fred is 88 years old Stella is 11 years old Nellie is 99 years old ... Billy is 44 years old. Afterwards, it … | |
[url]http://pastebin.com/aefXKD9w[/url] This is my code. If the command line csv file (for example, input.csv) has the following: Fred 22 Stella 11 Nellie 33 George 11 Violet 33 Rose 11 Bob 33 Lena 11 Billy 22 1) It should first print Fred is 22 years old.. Stella is 11 years old.. … | |
[CODE] import javax.swing.JOptionPane; public class Test1 { public static void main (String[] args) { // Method 1 Test3 method1 = new Test3(); // is this the method to call Test3()? JOptionPane.showMessage (null, method1 // Method 2 JOptionPane.showMessageDialog (null, Test3()); // Method 3 JOptionPane.showMessageDialog (null, Test3.toString()); } } class Test2 { … | |
[CODE]public static Integer calcs(String postFix) { StackInterface<Character> stack = new LinkedStack<Character>(); // instantiate Character stack Integer result = new Integer(0); Node<Integer> num1, num2; Integer int1 = new Integer(0); // declare address to each variable object Integer int2 = new Integer(0); num1 = new Node<Integer>(int1, null); num2 = new Node<Integer>(int2, null); … |
The End.