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)

guys pahelp po,eto screenshot ko.View attachment 911133
VB.net po gamit ko.please pahelp po sa program please.please.:pray:
Pwedeng if else statements lang ito sir. Kapag pinress mo yung "Get Zodiac" na button kunin mo yung value nung nasa textbox ng Month and Day then babasahin ng program mo kung saang zodiac sign siya kabilang then ididisplay mo lang yung text or image dun sa box. Try and try kahit matagalan ka. Masmasaya kapag ikaw mismo nakalutas ng problem diba? Goodluck. :thumbsup:
 
ahh matanong ko lang po mga idol, ano po ba yung course nyo at ganyan ang mga lessons(programming and etc) nyo? interesado po kasi ako sa mga pinag uusapan nyo sa thread na ito. incoming 1st yr college po kasi ako at hindi pa po ako nakapag decide kung anong course ang ititake up ko kaya ito po ako at nagtatanong. pasensya na rin po kung off topic po to tung reply ko XD
 
ahh matanong ko lang po mga idol, ano po ba yung course nyo at ganyan ang mga lessons(programming and etc) nyo? interesado po kasi ako sa mga pinag uusapan nyo sa thread na ito. incoming 1st yr college po kasi ako at hindi pa po ako nakapag decide kung anong course ang ititake up ko kaya ito po ako at nagtatanong. pasensya na rin po kung off topic po to tung reply ko XD
Incoming 3rd year college na ako. BSIT kinuha kong course. Ang alam kong may mga programming related na subject sa mga course ay Information Technology, Computer Science at Computer Engineering. Pero kung gusto mo talaga matuto pwede rin self study kaso yun nga, mas mahirap sa una kesa kapag ang course na kukunin mo ay may related sa programming. Good luck!
 
ahh matanong ko lang po mga idol, ano po ba yung course nyo at ganyan ang mga lessons(programming and etc) nyo? interesado po kasi ako sa mga pinag uusapan nyo sa thread na ito. incoming 1st yr college po kasi ako at hindi pa po ako nakapag decide kung anong course ang ititake up ko kaya ito po ako at nagtatanong. pasensya na rin po kung off topic po to tung reply ko XD
Any course that is related to computer like ECE, Computer Science, and IT. Remember that these courses are not easy as it sounds. You should choose wisely. Goodluck!
 
guys pahelp po,eto screenshot ko.View attachment 911133
VB.net po gamit ko.please pahelp po sa program please.please.:pray:

coincidence?

1548104_10200958126994411_8843884167462582389_o.jpg
 
Sir Either kinoconstruct ung Columns thru sa code behind or sa mismong table. patingin po ako ng source code nio para matulungan ko kayo

- - - Updated - - -

Sir p help po 1 week p lng kc aq sa java at hindi ko alam kung paano ko ma expand 2ng column sa JTABLE View attachment 903534according to the content
SQL Server 2008 ang Database Pra lng po sa School Project nmin.


View attachment 903534



Sir Either kinoconstruct ung Columns thru sa code behind or sa mismong table. patingin po ako ng source code nio para matulungan ko kayo
 
Pwede paki explain paano ba yung POINTERS sa C? Ano ang purpose ? Kailangan ba talagang gamitin ito or pwede hindi?

Ung pointers sa C is mainly used for passing a "by reference" parameters on a function or memory allocations / Dynamic array. sa C++ ginagamit din un sa OOP concepts like polymorphism, inheritance, etc.

Theoretically pde kang gumawa ng isang C program without using any pointers. but in some cases, especially in complex programs di mo talaga maiiwasang di gumamit ng pointers. But I advise na sanayin mo gumamit ng pointers lalo na kung target mong maging c/c++ programmer
 
ano pong sense ng thread na to kung yung mismong sub-forum e all about programming na?
 
pano po gagawing codes para ganito lumabas na output pag nag enter ng value?
sample1:

Enter Number: (cin number)99
99 298 149 448 224 112 56 28 14 7
22 11 34 17 52 26 13 40 20 10
5 16 8 4 2 1

sample2:

Enter Number: (cin number)15
15 46 23 70 35 106 53 160 80 40
20 10 5 16 8 4 2 1


*using for loop lang po.
*every 10numbers displayed,the nxt number will be printed on the nxt line.
 
SIr.. may prob po akoh sa visual basic..
dpat poh kasi, pag nagcompute poh akoh ng average, dpat poh 100 ung lalabas, kaso more than pa poh sya sa 100.
ito ung code and ss..
sana poh matulungan nyo koh
salamat poh in advance..^^
 

Attachments

  • error.png
    error.png
    47.3 KB · Views: 10
  • grading system incomplete.rar
    2.9 KB · Views: 9
SIr.. may prob po akoh sa visual basic..
dpat poh kasi, pag nagcompute poh akoh ng average, dpat poh 100 ung lalabas, kaso more than pa poh sya sa 100.
ito ung code and ss..
sana poh matulungan nyo koh
salamat poh in advance..^^

Dapat sinama mo na din ang code sa post mo, minsan kasi, no need na ang attachment.

Anyways, pagsama-samahin mo na lang ang computation ng Class Standings, Major Exam at Final Grade sa cmdCompute mo.

At saka, gamit ka ng data type na Singe/Double para sa decimals instead of Integer na whole number lang.

- - - Updated - - -

Ano pong code para sa printing vendo machine. thesis lng.

Anong language ba ang gamit mo?
 
Last edited:
pano po gagawing codes para ganito lumabas na output pag nag enter ng value?
sample1:

Enter Number: (cin number)99
99 298 149 448 224 112 56 28 14 7
22 11 34 17 52 26 13 40 20 10
5 16 8 4 2 1

sample2:

Enter Number: (cin number)15
15 46 23 70 35 106 53 160 80 40
20 10 5 16 8 4 2 1


*using for loop lang po.
*every 10numbers displayed,the nxt number will be printed on the nxt line.

int input = 99; //hardcoded..use cin to get the right value
for(int i=1;;i++)
{
if(input % 2 == 0)
{
input = input/2;
}
else
{
input = (input * 3) + 1;
}

printf("%d ", input);

if(i%10 == 0)
{
printf("\n");
}

if(input <= 1)
{
break;
}
}
 
sa java po pa help :(



Code:
public class ArraysinMethod2 {

	public static void main(String[] args) {
		
		int num[] = {0,1,2,3,4};
		change(num);
		
		for(int y:num)
		{
			System.out.println(y);
		}
		
	
	}
	
	public static void change(int x[]){
		
		for(int counter = 0; counter<x.length;counter++){
			x[counter]+=10;
		}
	}

}


output :
10
11
12
13
14

10291742_635488913199620_3663946774364263510_n.jpg

yung tanong ko lang po e..bakit po dun sa method "change" dun sa for loop e.. nakalagay po. (int counter =0; counter<x.length; counter++)

paano po siya nag loop ng 5 times.. e nakalagay po sa condition is "counter<x.length" meaning po nun diba mag loloop lang sya less than x.length ? yung length po nung x is 5 (0,1,2,3,4) .. so kung less than 5 po yung loop nya.. dba po dpat yung output e

output :
10
11
12
13
4

kasi po natapos yung loop sa number 3 kaya hndi ma change yung value ng 4 at mag pplus 10.. paano po na change at nag plus 10 din yung value ng 4 ? at naging 14 kung 4 na beses lang nag loop (0,1,2,3,4) kasi po less than 5 ?

pa help po please :(
 
@symmetry

Wala kasing value ung 2 mong variable eto ginawa ko

classstanding = (Val(TXTquiz) + Val(TXTrecitation) + Val(TXTassignment) + Val(TXTattendance) + Val(TXTlexam)) / 5
majorexam = Val(TXTmexam)

gumagamit tayo ng val() para makuha natin ung number value ng textbox ;), kaw na lang mag edit ng formula ng class standing since di mu naman nilagay ung mga percentage nila .
 

Attachments

  • grading system edited.rar
    2.9 KB · Views: 6
sa java po pa help :(



Code:
public class ArraysinMethod2 {

	public static void main(String[] args) {
		
		int num[] = {0,1,2,3,4};
		change(num);
		
		for(int y:num)
		{
			System.out.println(y);
		}
		
	
	}
	
	public static void change(int x[]){
		
		for(int counter = 0; counter<x.length;counter++){
			x[counter]+=10;
		}
	}

}


output :
10
11
12
13
14

https://fbcdn-sphotos-a-a.akamaihd....742_635488913199620_3663946774364263510_n.jpg
yung tanong ko lang po e..bakit po dun sa method "change" dun sa for loop e.. nakalagay po. (int counter =0; counter<x.length; counter++)

paano po siya nag loop ng 5 times.. e nakalagay po sa condition is "counter<x.length" meaning po nun diba mag loloop lang sya less than x.length ? yung length po nung x is 5 (0,1,2,3,4) .. so kung less than 5 po yung loop nya.. dba po dpat yung output e

output :
10
11
12
13
4

kasi po natapos yung loop sa number 3 kaya hndi ma change yung value ng 4 at mag pplus 10.. paano po na change at nag plus 10 din yung value ng 4 ? at naging 14 kung 4 na beses lang nag loop (0,1,2,3,4) kasi po less than 5 ?

pa help po please :(

mali ka ng pag kakaintindi sa condition na to (int counter =0; counter<x.length; counter++). Start from zero ung bilang gaya ng sinabi mo pag 5 ung length ung value ng i = (0,1,2,3,4) so it means 5 TIMES sya mag looloop not less than 5 times..
 
Slamat po sir .. na gets kuna.. na refresh ulit memory ko slamat po tlga T_T .. wla po ksi ako mapag tanungan e.. kdalasan po c at c++ yung alm nila or kya nman puro web developer.. slamat po tlga ng mdami.... God Bless po
 
wah.. ou nga.. prang c++ lang din..XD salamat poh sa tulong nyo.. sana matulungan ko din kayo nxt tym pag gumaling na koh d2..^^
 
Back
Top Bottom