Wednesday, July 15, 2009

Can someone help me with my Java Programming labs?

im struggling in programming class right now so can anyone volunteer to put their email down, then i'll just send them the lab, which is on microsoft word, and can you do them for me? so i can do little by little and try to understand each step.


Thank you

Can someone help me with my Java Programming labs?
May be you can contact a java expert live at website like http://askexpert.info/
Reply:Sounds to me like you don't belong in this class. You might want to consider majoring in PhyEd.
Reply:Good luck. If you're struggling so much, you may want to try a tutor instead of asking someone to do your work for you. You won't learn unless you figure out how to do the work yourself, you're cheating yourself and your classmates otherwise.

yugioh cards

Need help on inequalities on linear programming problem?

A clothing company makes jackets and pants. Each jacket requires 1 hour of cutting and 4 hours of sewing. Each pair of pants requires 2 hours of cutting and 2 hours of sewing. The total time per day available for cutting is 20 hours and for sewing is 32 hours.





You have to write a system of inequalities. j represents number of jackets and p represents number of pairs of pants





I already have two of the equations. (these are supposed to be common sense ones) I just need the other two inequalities. i don't understand it!





j%26gt;=0


p%26gt;=0

Need help on inequalities on linear programming problem?
One is for the cutting machine, which must be used less than or equal to 20 hours. And pants need 2 hr and jackets need 1 hour on that machine so 2p + 1j ≤ 20





Similarly the sewing machine must be less than or equal to 32 hours so 4j + 2p ≤ 32


Anyone with web page programming knowledge, please help!?

My friend wants to "disable" her myspace at certain times of day. With code, I can comment and apparently I can render her page inaccessible. Could I forward the page to another to no one can go to her page? Or could I just turn the page to an error?





Anyone with web page programming knowledge, please help!





Thank you so much! All help is appreciated.

Anyone with web page programming knowledge, please help!?
You cannot use code of any kind in MySpace. So this is pretty much impossible as there would be no way to determine the time of day.


Can Some One Help Me With Programming Using Java?

i need to write a java program that reads a DNA sequence form the keyboard, callls the countBase() method, and outputs the resulting base counts.





Can some one help me with this as for now i have only about 24 hours to do it. i have try my best for the last few days but without success.

Can Some One Help Me With Programming Using Java?
class Test {


int aCount = 0, gCount = 0, tCount = 0, cCount = 0;





void countBases(String in) throws IOException {


StringReader sr = new StringReader(in);


int c;


while ((c = sr.read()) != -1) {


switch (c) {


case 'a': aCount++; break;


case 'g': gCount++; break;


case 't': tCount++; break;


case 'c': cCount++; break;


} } }





public static void main(String[] args) {


try {


BufferedReader br = new BufferedReader( new InputStreamReader( System.in));


String bases = br.readLine().toLowerCase();


Test t = new Test();


t.countBases(bases);


System.out.println("a = " + t.aCount);


System.out.println("t = " + t.tCount);


System.out.println("g = " + t.gCount);


System.out.println("c = " + t.cCount);


} catch (Throwable th) {


th.printStackTrace();


}


System.exit(0);


} }





===============


Sample input and output:





aaaaaaaaaaaaaaaaaatttgc





a = 18


t = 3


g = 1


c = 1
Reply:May be you can contact a Java expert to help you out. Check websites like http://oktutorial.com/
Reply:public class LCS {


// These are "constants" which indicate a direction in the backtracking array.


private static final int NEITHER = 0;


private static final int UP = 1;


private static final int LEFT = 2;


private static final int UP_AND_LEFT = 3;





public static String LCSAlgorithm(String a, String b) {


int n = a.length();


int m = b.length();


int S[][] = new int[n+1][m+1];


int R[][] = new int[n+1][m+1];


int ii, jj;





// It is important to use %26lt;=, not %26lt;. The next two for-loops are initialization


for(ii = 0; ii %26lt;= n; ++ii) {


S[ii][0] = 0;


R[ii][0] = UP;


}


for(jj = 0; jj %26lt;= m; ++jj) {


S[0][jj] = 0;


R[0][jj] = LEFT;


}





// This is the main dynamic programming loop that computes the score and


// backtracking arrays.


for(ii = 1; ii %26lt;= n; ++ii) {


for(jj = 1; jj %26lt;= m; ++jj) {





if( a.charAt(ii-1) == b.charAt(jj-1) ) {


S[ii][jj] = S[ii-1][jj-1] + 1;


R[ii][jj] = UP_AND_LEFT;


}





else {


S[ii][jj] = S[ii-1][jj-1] + 0;


R[ii][jj] = NEITHER;


}





if( S[ii-1][jj] %26gt;= S[ii][jj] ) {


S[ii][jj] = S[ii-1][jj];


R[ii][jj] = UP;


}





if( S[ii][jj-1] %26gt;= S[ii][jj] ) {


S[ii][jj] = S[ii][jj-1];


R[ii][jj] = LEFT;


}


}


}





// The length of the longest substring is S[n][m]


ii = n;


jj = m;


int pos = S[ii][jj] - 1;


char lcs[] = new char[ pos+1 ];





// Trace the backtracking matrix.


while( ii %26gt; 0 || jj %26gt; 0 ) {


if( R[ii][jj] == UP_AND_LEFT ) {


ii--;


jj--;


lcs[pos--] = a.charAt(ii);


}





else if( R[ii][jj] == UP ) {


ii--;


}





else if( R[ii][jj] == LEFT ) {


jj--;


}


}





return new String(lcs);


}





public static void main(String args[]) {


try {


String s = LCSAlgorithm(args[0], args[1]);


System.out.println(s);


}


catch(Exception e) {


e.printStackTrace();


}


}


}


Can anyone help my DH who has a degree in computer game programming get a job??

He has his degree in computer game programmign but the field is so saturated he can't get his foot in the door. He'll even take an entry level position but these companies have outsourced so many of their positions. Can anyone refer him somewhere? We can't afford the hundreds of dollars that these "recruiters" ask for to help place him. Any help would be greatly appreciated.

Can anyone help my DH who has a degree in computer game programming get a job??
I heard Blizzard Entertainment was hiring. There in Irvine, CA.
Reply:Designated Hitter?

hibiscus flower

Can you help to find a community (a forum, chats, etc) on the internet where you can easy learn "programming"?

Help to find a place on the internet where you can learn ( for free and in a community) languages like C++, html, PHP, etc. Suggestions?

Can you help to find a community (a forum, chats, etc) on the internet where you can easy learn "programming"?
Man, who told you, you can learn programming from forum?. If you know some other programming laguage yes you can learn but if you are totally newbie you won't learn programming from forum.


suggestion: buy C++ book, read it and try excercises. if you learn C++ you can easily learn other programming language like java, php, javascript and so on. since their syntax are same.





php-mysql-tutorial.com //have good tutorial in php


webdevelopernotes.com //you can learn HTML from it.


w3schools.com //tutorial in all web developing programmes.





Best Wish
Reply:For php:


http://www.php.net/





For html and everything web related:


http://www.webmasterworld.com/
Reply:Not to promote my site or anything, okay maybe I am. Haha But I have a group on Yahoo! Groups called HTML_Designers. If you want to search for it and you can't find it, send me your email address and I'll send you an invite. I don't have any tutorials on there right now since I haven't had the site for very long, but I'll update it soon.
Reply:Try Planet Source Code. Maybe you can learn by example...





http://www.planetsourcecode.com
Reply:I don't think you can really learn programming free on the net, you will find lots of help, but it is something you have to do yourself, if you want people to write code for you, you can find it, but you won't learn. there is no easy free way to learn anything worth knowing. but type help with programming in the google search window, you will find lot of sites with programmers willing to help you
Reply:The best site I've found for PHP is PHPFreaks.com. Each tutorial allows you to ask questions and comment on the material and they offer real-world examples of code to help get you started.





As for the previous comment that you can't learn programming from scratch online, I disagree. I taught myself PHP. I started with the basics from a book, but have learned most of what I know from PHPFreaks, php.net, and other online resources.





Good luck!


Can anyone help me with a website where i can make money by solving programming and design problems?

hmm i often wish there was one. start one.

Can anyone help me with a website where i can make money by solving programming and design problems?
Check out http://rentacoder.com
Reply:You can visit www.monster.com there are lots of opportunities in many corners of the IT to either work part time or full time. Post a resume, any past experience, skills at present and keep a watch out for those who are needing to hire.
Reply:Help you in which way? You need to display details abuotthis if you really want someone to answer.