Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

All about programming (Specially c, c++, VB, Java)

nice itong thread na to. nag aaral din kc aq ng java.. sana always updated toh ^_^
bali sa GUI na nga pla kame, ng aaral na q ng Swing and Awt kxo lng ndi ko pa mxado ma gets.
may ngwa na po aqng program. ng print-out xa ng JTextField,JTextFrame,JButton, ect, kaso ndi ko ma align un proper position nia. pede po ba humingi ng sample codes nitong ,gnwa kong lay-out? pg aralan ko nlng po.,sana ung png noobing codes lang hehe ..thanks more power !!! mga ka SB!

eto po ung lay-out. sana .thanks .

http://img689.imageshack.us/i/tripd.jpg/
 
Last edited:
sir patulong po sa codes ayaw mo kasi mg loop tama po ba yun syntax ko mag iinput ako ng 2 numbers then iloop nya patulong po thanks
eto po yun codes


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

int num,i;
try{

System.out.println("Enter num");
num=Integer.parseInt(br.readLine());

System.out.println("Enter i");
i=Integer.parseInt(br.readLine());
for(num = i; i<num;num++){
System.out.println(num);


}








}
catch(IOException e){
System.out.println("e");
}
}
}

anung klaseng loop ba ang mangyayari d2??
paliwanag mo ng maayus ung tanung.. give ka example.
 
need :help: mga ka symbianize. exercise namin eto sa visual c++, pero may problema, kasi pag 50 ang average lumalabas ang failed not yung dropped. may kulang pa ba ito? at paano gawin term grades dapat makainput lang ng 50-100


eto un code ko.

Code:
int main ()
{
	int PreMid, MidTerm, PreFinal, Final, Sum, Average;
	cout<<"\nEnter Four Terms Grades: \n";
	cin>>PreMid>>MidTerm>>PreFinal>>Final;
	Sum = PreMid + MidTerm + PreFinal + Final;
	Average = Sum / 4;
	cout<<"The Average is: "<<Average;
	cout << "\n";
	if (Average > 74)
	cout<<"\nRemarks: "<<"Passed\n";
	else if (Average < 75)
	cout<<"\nRemarks: "<<"Failed\n";
	else if (Average = 50)
	cout<<"\nRemarks: "<<"Dropped\n";
	return 0;
}
 
Last edited:
:help: Mga master.. ptulong po s pag iIMPORT ng class sa JAVA.
simple calculator po panapagwa smin. bale gmit nmin is five operations(addition,subtraction,multiplication,division, and the remainder operator), here is the problem,
Bwat isa po dun s mga operators n un is mgkakaibng CLASS. bale 5 operators po un and 5 individual Classes dn po. tpus ung pnkalast n class n ggwin nmin is ung main na.. wherein dun n nkaIMPORT ung lahat ng 5operators and ggwa nlng ng menu for EACH OPERATION THE USER WILL CHOOSE.
problem ku nlng po is ung pgiimport ng 5 classes and ung pgkoCALL sknla inside the last Class.:noidea:

**gets nyu po bah???:slap:
 
need :help: mga ka symbianize. exercise namin eto sa visual c++, pero may problema, kasi pag 50 ang average lumalabas ang failed not yung dropped. may kulang pa ba ito? at paano gawin term grades dapat makainput lang ng 50-100


eto un code ko.

Code:
int main ()
{
	int PreMid, MidTerm, PreFinal, Final, Sum, Average;
	cout<<"\nEnter Four Terms Grades: \n";
	cin>>PreMid>>MidTerm>>PreFinal>>Final;
	Sum = PreMid + MidTerm + PreFinal + Final;
	Average = Sum / 4;
	cout<<"The Average is: "<<Average;
	cout << "\n";
	if (Average > 74)
	cout<<"\nRemarks: "<<"Passed\n";
	else if (Average < 75)
	cout<<"\nRemarks: "<<"Failed\n";
	else if (Average = 50)
	cout<<"\nRemarks: "<<"Dropped\n";
	return 0;
}

mali yung pagka express mo sa condition.. dapat po
if(Average==50)
 
mejo mali din yung order of conditions mo. talagang di ka mapupunta sa dropped, kasi ang 50 is also less than 75. bago pa sya makapunta sa third condition, pumapasok na sya sa failed.
 
sir need ko po matuto gumawa ng java program na calculator. as in dapat mukhang calculator and gumagana na parang calcu. need ko po talaga yung prog na yun. thanks po!
 
sir pwede ba sumali?first post ko ln to, sa wakas nakakita din ako ng thread na talagang makakatulong sakin. need ko gumawa ng java program. kahit turbo c pwede na. eto ung input .......... year of birth then lalabas ung chinese zodiac. for example:

Enter year of birth===>1990
your chinese zodiac is===> horse

yan po.. slamat!!!
 
i forgot. using switch case and else if ha. kahit konting idea lang po. thanks. pwede na ung turbo c.wag nang java.
 
sir pwede ba sumali?first post ko ln to, sa wakas nakakita din ako ng thread na talagang makakatulong sakin. need ko gumawa ng java program. kahit turbo c pwede na. eto ung input .......... year of birth then lalabas ung chinese zodiac. for example:

Enter year of birth===>1990
your chinese zodiac is===> horse

yan po.. slamat!!!

try ko po gawin..bka alam ko pa hehe
 
Code:
//krizero... symbianize.com
import java.util.*;

public class ZodiacSign {
public static void main(String[] args) {
String chineseSign="";
int year;

Scanner c = new Scanner (System.in);
System.out.println("Enter year: ");
year = c.nextInt();


int x = (1997 - year) % 12;
if ((x == 1) || (x == -11)){
chineseSign="Rat";
}
else{
if (x == 0){
chineseSign="Ox";
}
else{
if ((x == 11) || (x == -1)){
chineseSign="Tiger";
}
else{
if ((x == 10) || (x == -2)){
chineseSign="Rabbit";
}
else{
if ((x == 9) || (x == -3)){
chineseSign="Dragon";
}
else{
if ((x == 8) || (x == -4)){
chineseSign="Snake";
}
else{
if ((x == 7) || (x == -5)){
chineseSign="Horse";
}
else{
if ((x == 6) || (x == -6)){
chineseSign="Sheep";
}
else{
if ((x == 5) || (x == -7)){
chineseSign="Monkey";
}
else{
if ((x == 4) || (x == -8)){
chineseSign="Chicken";
}
else{
if ((x == 3) || (x == -9)){
chineseSign="Dog";
}
else{
if ((x == 2) || (x == -10)){
chineseSign="Pig";
}
}
}
}
}
}
}
}
}
}
}
}

System.out.println("Chinese Zodiac is: "+chineseSign+".");
}
}

Edit nyo na lang po if want niyo ^_^ enjoy sir
 
Last edited:
hi sir may case stud po kame pwede ba ko humingi ng tulong ka symbianize? ang hirap po eh using jcreator.. java applets po...MERC Book Store
(Using Applets)

Create a program in java that computes a list of grocery items in MERC grocery.

REQUIREMENTS:

1. There are only 2 shifting cashier/s in MERC Grocery, which accepts only nine characters (9) series of code.
Cashier Name Cashier Code
1. Maria Liwayway Hienn1234
2. Jose Mariotte Mario0912

2. Label a text box that would accept a bar code of a product in the table given and compute for the item/s purchased.
a. The item/s to be purchased may be more than one per product code.
b. Prompt error if bar code typed is not in the list.
3. Compute for a change of the amount given by the customer.
a. Prompt error if the amount given is less than the amount tender.
4. The program will accept CREDIT CARD payments.
a. The program accepts CARD NUMBER, Name of Card Holder, Date, purchased Item/s
b. It will accept the following:
i. Installments – payable by three months, 6 months, 9 months, 12 months (minimum amount of purchased item/s 3000 pesos)
ii. Straight Payments – the tendered item price is payable in one month
iii. The program will validate the card holder number by typing a valid ID. (SSS ID, Passport, Employee ID, Phil Health). Type the ID number.


Bar Code
Category
Brand
Number of Stock Items Price per piece
M1234 Magazine Memopolitan 100 120
M5678 EHEC-HEP-EMS 185 145
M9012 BOUGE 123 185

SU123 Supplies Penda 50 3.50
SU234 Chattylea 205 25.00
SU567 Istapyler 100 32.75

BO907 Books No Man is an Island out there by: Noman 298 201
BO657 Wer na u ditto na me?! By: Achuchuchu 328 1255
BO812 You and Me not against the world by : Selfish 470 243
 
Pa help po sa project namin sa C,

Nag propose kami ng project, and naisip kong gawin eh payroll system for mister donut.

Need ko po gumawa ng payroll system using C.
But my problem is I don't have any idea on how to do this.

Help po kahit Idea lang, ako gagawa ng codes.
 
,"mga bos cnu magaling sa vb.net... variant poh ba ang aplicable na da type pag ico2nect sa Biometrics? ang isang apps.... :slap:
 
VB8 pano e-maximize ang buong form n kasama pati ang mga tools(buttons,textbox) n nakapaloob dito.

Thankz..
 
patulong naman po sa FIRST COME FIRST SERVE SCHEDULING program sa turbo C.

ganito po ang format:

Given:

Job No. Arrival Time Run Time
1 3.10 1.30
2 4.35 0.25
3 5.25 1.05
4 7.00 0.45

The Screen Should look like this:

Job No. Arrival Time Start Time Finish Time Turn Around Time
1 3.10 3.10 4.40 1.30
2 4.35 4.40 4.65 0.30
3 5.25 5.25 6.30 1.05
4 7.00 7.00 7.45 0.45

Ave Turn Around Time=0.78

YOUR HELP WILL BE SO MUCH APPRECIATED. PLEASE PLEASE PLEASE HELP ME. THANK YOU IN ADVANCE!
 
.sir help naman po..bgo lang po ako sa java..d po aCu dumaan sa c at c++ kaya mejo hirap..ung input output po ..ok ..peo panu po ung mgc0nstruct ng branching sa java using if??

..4 EX PO
input po name
input po age

x-variable 4 age

if x >20 then print "you are underage"

panu cu po gwin yn javA?

last po
panu po mgc0mpute ng grades?

x= 75
y=80
Z=90

a=(x+y+z)/3
,panu cu ggwin uN?help plx
simple c0ding lang po para mgets cu po agad?
 
Back
Top Bottom