|
|
Hello, Guest! Welcome to Symbianize forums.
Most of our features and services are available only to our members. So we encourage you to login or join us by registering a new account. Registration is free, fast, and simple. You only need to provide a valid email address so we can minimize spammers. As a Symbianize member you'll have the following privileges:
- Gain access to private forums and restricted features
- Reply and create new topics or polls
- Download free applications, games, themes, graphics, tones, videos, etc.
- Ask question or support related to mobile phone, computer, game console, and multimedia
- Private messaging (PM) with fellow members
- Communicate instantly or real-time with currently online members via Shout Box
All that and more, so what are you waiting for, join us now! Ito ang website na ginawa ng pinoy para sa pinoy!
| |
| Programming Discussions related to C++, HTML, PHP, ASP, ColdFusion, JavaScript, Perl, Phyton, Ruby, WML, SQL, XML, and other programming languages. |
 |

28th Feb 2012 Tue, 22:07
|
 |
Professional
|
|
Join Date: Sep 2011
Location: Quezon City
Posts: 182
Reputation:
|
|
[help]java programming{matching or searching correspond coarse based on the skills}
help naman po.i need to create a java programming that the computer/system will choose a designated course based on the inputed skills ng user.
halimbawa:
programmer input:ung programmer or admin ay maglalagay ng ibat ibang skills sa bawat course.
example:
Course:CS
Skills:
computer literate
matalino
mabait
masipag
programming skiils
IT
mabait
computer literate
english skills
masipag
cute
CE
mathematecian
masipag
mapagkakatiwalaan
\*example skills lang yan*\
at ung user naman mag iinput ng name at skills nya
example:
name:brando
skills:
mabait
masipag
computer literate
matalino
at ang gagawin ng program ay imamatch nya sa skills na ininput ni programmer at titignan kung aling course ang mas madaming nagmatch at on this example mas maraming skills si brando na nag match sa CS.
kaya ang output ay:
Name:brando
Skills:
mabait
masipag
computer literate
matalino
We preffered you to take CS.
so pls help naman po..
    
Always exited to learn new things about Information Technology.
|

29th Feb 2012 Wed, 00:24
|
 |
Professional
|
|
Join Date: Sep 2011
Location: Quezon City
Posts: 182
Reputation:
|
|
Re: [help]java programming{matching or searching correspond coarse based on the skill
up ko lang po...sana may makatulong.
Always exited to learn new things about Information Technology.
|

29th Feb 2012 Wed, 06:52
|
 |
The Grand Master
|
|
Join Date: Sep 2010
Location: City of the Outcast
Posts: 3,140
Reputation:
|
|
Re: [help]java programming{matching or searching correspond coarse based on the skill
Store mo sa array ung mga criteria ng bawat course
set ka ng counter na magbibilang ng mga criteria na nag match
then traverse for every criteria of all courses tapos tsaka ka mag compare
whether the user input is equal to the criteria or not.
if it is true then increment if it is not do nothing..
e.g.
// Assuming That this are the criteria for CS : { "KIND", "Intelligent", "CUTE" }
// Assuming that the user input = "KIND";
// Assume that this is your variable for counter ctrCS = 0;
Code:
if ( input.equalsIgnoreCase( CS[0] ) )
ctrCS++;
i hope na gets mo yung idea...
try mo muna gawin on your own...
wag yung papagawa mo ung buong program xD
Last edited by i_ignore08; 29th Feb 2012 Wed at 06:53..
|

29th Feb 2012 Wed, 14:19
|
 |
Professional
|
|
Join Date: Sep 2011
Location: Quezon City
Posts: 182
Reputation:
|
|
Re: [help]java programming{matching or searching correspond coarse based on the skill
Quote:
Originally Posted by i_ignore08
Store mo sa array ung mga criteria ng bawat course
set ka ng counter na magbibilang ng mga criteria na nag match
then traverse for every criteria of all courses tapos tsaka ka mag compare
whether the user input is equal to the criteria or not.
if it is true then increment if it is not do nothing..
e.g.
// Assuming That this are the criteria for CS : { "KIND", "Intelligent", "CUTE" }
// Assuming that the user input = "KIND";
// Assume that this is your variable for counter ctrCS = 0;
Code:
if ( input.equalsIgnoreCase( CS[0] ) )
ctrCS++;
i hope na gets mo yung idea...
try mo muna gawin on your own...
wag yung papagawa mo ung buong program xD
|
ah cge try ko po sir..
Always exited to learn new things about Information Technology.
|

29th Feb 2012 Wed, 14:29
|
 |
Professional
|
|
Join Date: Sep 2011
Location: Quezon City
Posts: 182
Reputation:
|
|
Re: [help]java programming{matching or searching correspond coarse based on the skill
Quote:
Originally Posted by i_ignore08
Store mo sa array ung mga criteria ng bawat course
set ka ng counter na magbibilang ng mga criteria na nag match
then traverse for every criteria of all courses tapos tsaka ka mag compare
whether the user input is equal to the criteria or not.
if it is true then increment if it is not do nothing..
e.g.
// Assuming That this are the criteria for CS : { "KIND", "Intelligent", "CUTE" }
// Assuming that the user input = "KIND";
// Assume that this is your variable for counter ctrCS = 0;
Code:
if ( input.equalsIgnoreCase( CS[0] ) )
ctrCS++;
i hope na gets mo yung idea...
try mo muna gawin on your own...
wag yung papagawa mo ung buong program xD
|
sir yung pag store ko po ba sa array nung mga skills ay hiwalay ang array bawat course?
Always exited to learn new things about Information Technology.
|

29th Feb 2012 Wed, 15:08
|
 |
Professional
|
|
Join Date: Sep 2011
Location: Quezon City
Posts: 182
Reputation:
|
|
Re: [help]java programming{matching or searching correspond coarse based on the skill
import java.util.Scanner;
public class match
{
public static void main(String[] args)
{
Scanner s=new Scanner(System.in);
String skills;
int skillSize=5;
String []CSSkills=new String[skillSize];
String []ITSkills=new String[skillSize];
String []CESkills=new String[skillSize];
String []BSBASkills=new String[skillSize];
System.out.println("Enter Course:");
String course=s.next();
if(course=="CS"||course=="cs")
{
System.out.println("Enter a Skills:");
for(int x=0;x<5;x++)
{
skills=s.next();
CSSkills[skillSize]=skills;
}
}
else if(course=="IT"||course=="it")
{
System.out.println("Enter a Skills:");
for(int x=0;x<5;x++)
{
skills=s.next();
ITSkills[skillSize]=skills;
}}
else if(course=="CE"||course=="ce")
{
System.out.println("Enter a Skills:");
for(int x=0;x<5;x++)
{
skills=s.next();
CESkills[skillSize]=skills;
}
}
else
System.out.println("eghdhd");
}
}
tama po ba yan?
tama po ba ung pag insert ko ng mga skills sa array?
bakit ayaw nya po gumana ung if statement?
Always exited to learn new things about Information Technology.
|

29th Feb 2012 Wed, 15:11
|
 |
Professional
|
|
Join Date: Sep 2011
Location: Quezon City
Posts: 182
Reputation:
|
|
Re: [help]java programming{matching or searching correspond coarse based on the skill
bakit po pag if i type cs napupunta sa else statement hinfi po dun sa if statement na equals sa cs?help po.
Always exited to learn new things about Information Technology.
|

29th Feb 2012 Wed, 17:48
|
 |
Professional
|
|
Join Date: Sep 2011
Location: Quezon City
Posts: 182
Reputation:
|
|
Re: [help]java programming{matching or searching correspond coarse based on the skill
import java.util.*;
import javax.swing.JOptionPane;
public class match3 {
public static void main(String[] args)
{
Scanner s=new Scanner(System.in);
JOptionPane j= new JOptionPane( );
LinkedList cs=new LinkedList();
LinkedList it=new LinkedList();
LinkedList ce=new LinkedList();
LinkedList acc=new LinkedList();
String course;
int countcs=0;
int countit=0;
int countce=0;
int countacc=0;
String skills;
int skillsize=0;
int c=0;
j.showMessageDialog(null,"ADMIN");
for(int x=0;x<4;x++){
c=Integer.parseInt(j.showInputDialog(null, "Course number:\n[1]CS\n[2]IT\n[3]CE\n[4]BSBA\nEnter Course Number:"));
if(c==1)
{ skillsize=Integer.parseInt(j.showInputDialog(null, "How many skills:"));
for(int x1=0;x1<skillsize;x1++)
{
skills=j.showInputDialog(null,"Enter a Skills:");
cs.add(skills);
}
}
if(c==2)
{ skillsize=Integer.parseInt(j.showInputDialog(null, "How many skills:"));
for(int x1=0;x1<skillsize;x1++)
{
skills=j.showInputDialog(null,"Enter a Skills:");
it.add(skills);
}}
if(c==3)
{ skillsize=Integer.parseInt(j.showInputDialog(null, "How many skills:"));
for(int x1=0;x1<skillsize;x1++)
{
skills=j.showInputDialog(null,"Enter a Skills:");
ce.add(skills);
}}
if(c==4)
{ skillsize=Integer.parseInt(j.showInputDialog(null, "How many skills:"));
for(int x1=0;x1<skillsize;x1++)
{
skills=j.showInputDialog(null,"Enter a Skills:");
acc.add(skills);
}}
}
j.showMessageDialog(null,"USER");
String name=j.showInputDialog(null,"Enter your name:");
int skillsizes=Integer.parseInt(j.showInputDialog(null ,"How many skills do you have:"));
for(int y=0;y<skillsizes;y++)
{
String skillsuser=j.showInputDialog(null,"Enter your skills:");
boolean ss=cs.contains(skillsuser);
if(ss==true)
{
countcs++;
}
else{
System.out.print("");}
boolean ss1=it.contains(skillsuser);
if(ss1==true)
{
countit++;
}
else{
System.out.print("");}
boolean ss2=ce.contains(skillsuser);
if(ss2==true)
{
countce++;
}
else{
System.out.print("");}
boolean ss3=acc.contains(skillsuser);
if(ss3==true)
{
countacc++;
}
else{
System.out.print("");}
}
j.showMessageDialog(null, "yor course is: "+countcs+"rr"+countit+"sdd"+countce+"dff"+countac c);
if(countcs>countit||countcs>countce||countcs>count acc)
{
j.showMessageDialog(null, "Name: "+name+"\ni suggest you to take CS!");
}
else if(countit>countce||countit>countacc)
{
j.showMessageDialog(null, "Name: "+name+"\ni suggest you to take IT!");
}
else if(countce>countacc)
{
j.showMessageDialog(null, "Name: "+name+"\ni suggest you to take CE!");
}
else
j.showMessageDialog(null, "Name: "+name+"\ni suggest you to take Accounting!");
}
}
ayan napo ung nagagawa ko..kaso hindi pako satisfied kasi ung admin dapat pwede nya bawasan at dagdagan ung naiinput nyang skills sa bawat course..panu po yun..help naman po.
Always exited to learn new things about Information Technology.
|
 |
All times are GMT +8. The time now is 16:52.
|