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!
mga kuya p elp nmn po... pno po plabasin ang ganitong output?
*****
****
***
**
*
**
***
****
*****
pls po.. ty sa mg rereply
mga kuya p elp nmn po... pno po plabasin ang ganitong output?
*****
****
***
**
*
**
***
****
*****
pls po.. ty sa mg rereply
#include<iostream>
using namespace std;
int main()
{
cout << "*****\n****\n***\n**\n*\n**\n***\n****\n*****\n"
system("pause")
return 0;
}
try mo dito mag post.. http://symbianize.com/showthread.php?t=127392hi sir.. can you give me an sample codes sa inventory system where pwede e formulate niyaang re-orderentry point at stock on hand.. o sa simply salita pwede mo ko bigyan ng sample codes mo sa ng inventory using vb.net 2003 at sql ang dta base.
Pa tambay po dito pag java at c++
Hi mga bro bago lng po ako sa programing at medyo nahihirapan ako 1st year plang po ako kumukuha ng cs can you please help me about this one
Write a C Program that will input a number and convert it to Roman Numerals from 1 - 3000.
Sample Output:
Enter any number from 1 - 3000: 6
The Roman Numeral is VI
this will mean a lot to me thank you
import java.awt.*;
import java.applet.*;
import java.awt.event.*;
import java.util.*;
public class array extends Applet implements ActionListener
{
Button btnFill = new Button("Fill Array");
Button btnSort = new Button("Sort");
Button btnMax = new Button("Find Maximum");
Button btnMin = new Button("Find Minimum");
TextArea Display = new TextArea(10,20);
Label lblMaxMin = new Label("##################");
int[] myArray = new int[5];
int x;
String strOutput = "";
public void init()
{
Panel pnl1 = new Panel();
Panel pnl2 = new Panel();
Panel pnl3 = new Panel();
pnl1.setLayout(new GridLayout(4,0));
pnl1.add(btnFill); btnFill.addActionListener(this);
pnl1.add(btnSort); btnSort.addActionListener(this);
pnl1.add(btnMax); btnMax.addActionListener(this);
pnl1.add(btnMin); btnMin.addActionListener(this);
pnl2.setLayout(new GridLayout(1,1));
pnl2.add(Display);
pnl3.setLayout(new GridLayout(6,0));
pnl3.add(lblMaxMin);
add(pnl1);
add(pnl2);
add(pnl3);
}
public void actionPerformed(ActionEvent a)
{
Object Obj = a.getSource();
if(Obj == btnFill)
{
Display.setText("");
for(int x=0; x<myArray.length; x++)
{
myArray[x] = (int)(Math.random()*100)+1;
Display.append("[" + (x+1) + "]" + " " + myArray[x] + "\n");
}
}
else if(Obj == btnSort)
{
Display.setText("");
Arrays.sort(myArray);
for(int x=0; x<myArray.length; x++)
{
Display.append("[" + (x+1) + "]" + " " + myArray[x] + "\n");
}
}
else if(Obj == btnMax)
{
lblMaxMin.setText("");
int max = myArray[0];
for(int x=0; x<myArray.length; x++)
{
if(myArray[x] > max)
{
max = myArray[x];
lblMaxMin.setText("Maximum Number =" + max);
}
}
}
else
{
lblMaxMin.setText("");
int min = myArray[0];
for(int x=0; x<myArray.length; x++)
{
if(myArray[x] < min)
{
min = myArray[x];
lblMaxMin.setText("Minimum Number =" + min);
}
}
}
}
}
gawa ka ng function na mag check ng iyong winning condition, tapos call mo everytime na mag make ng move yung players. un muna unahin natin bago un A.I., madugo ung part na un.