- Messages
- 94
- Reaction score
- 0
- Points
- 26
palitan mo lang rin ng ibang variable yung counter sa inner for loop na binigay ni ebil_dood. sa taas
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!
palitan mo lang rin ng ibang variable yung counter sa inner for loop na binigay ni ebil_dood. sa taas
hi po thanks sa mga tips nyo uhm ngayon po simple question lng how can i create a box ung asteris or other design using turbo c sensya na naguumpisa pa lng po tlg ako
Initial:
x=0;
y=0;
limit=5;
Loop:
for (x=0;x<limit;x++){
for(y=0;y<limit;y++){
if (x==0&&x==limit-1){
printf("*");
}
else{
if (y==0&&y==limit-1){
printf("*");
}
else{
printf(" ");
}
}
}
printf("\n");
}
Patulong po ako nalilito kc ako..
Kilan po pwedeng gamitin ang while,do while,for ,if. Sa pag solve ng problem.
help naman poh mga sirs dito sa problem na toh
hindi ko talaga ma gets kung pano gawin...
heto poh yung Problem:
create a program that will display the pattern, given the value of n.
heto poh output:
kung yung n ay equals to 10
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8
1 2 3 4 5 6 7
1 2 3 4 5 6
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1
by the way.. sa java or bluej poh pala yung mga codes na ginagawa namin... please
oo nga pala heto palang poh nagagawa ko ehh :
import java.util.Scanner;
public class trans2Wahaha
{
public static void main(String[]args)
{
Scanner myScan=new Scanner(System.in);
int num=0;
int x=0;
System.out.println("Enter a number: ");
num=myScan.nextInt();
for(x=1;x<=num;x++)
{
System.out.print(x+" ");
}
}
}
please help poh kung pano ko mapapalabas sa nextline yung kasunod halimbawa poh 10 (1 2 3....10) next line (1 2 3...9) hanggang maging 1 na lang ...
heto, almost the same problem. onting analysis and logic lang kailangan.
http://www.symbianize.com/showpost.php?p=4011549&postcount=380
hint: meron ka lang babaligtarin.
help naman p0 with diz codes. . .may mali pa p0 jan eh. . pag nag iinput aq foe example 119. . ang lalabas eh one hundred one nine. . .dapat one hundred nineteen p0. . .tnx!!! h0ping 4 ur positive responses. . .