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)

sinu meron apps for android na java compiler? penge naman
 
Last edited:
Hi Mga Sir patulong po sa C++ wala kasi ako ka alam-alam dito eh ,eto po problem "Gumawa ng Program na nagtatanung ng integer at iinput after mag-input ng integer pag-ang integer na nainput ay LESS THAN to 10 may lalabas na msg na "Your number is to small" at kung yung integer naman na nainput is GREATER THAN ang lalabas na msg ay "The number is enough :) Thanks sa tutulong

#include <iostream>
using namespace std;

int main () { //www.iceparticle.com

int x;
cout << "Enter an Integer: ";
cin >> x; // input x
if (x<10)
cout << "The number is too small"; // if x is greater than 10.

else if (x>10 || x==10)
cout << "The number is enough"; //else if x is less than 9 or equal to 10.

return 0; //www.iceparticle.com
}

based dun sa source ni iamlegend7, dun sa if at if else statement. pag nag input kang 10. sa first statement true na siya pero dapat sa second statement siya dapat ma declare kaya instead of <=10 gawin na lang <10 tapos pag nag false yung 10 sa first, pupunta siya sa second statement tapos dun mo na iiinstert yung another condition na kung 10 is less than 10 or 10 is equal to 10 mag tutrue siya :)
 
Last edited:
ENGE NAMAN PO VB 6.0 Professional Edition PLEASE
SALAMAT PO SA MAGBIBIGAY <3 Thanks
 
Patulong naman po. Baka po mayroon kayong cartoon character na ginawa using c++. Yung madali lang po sana. Thanks
 
Pa help mga expert :)

Make a C++ program that reads in a number from 1 to 20 and display the word equivalent of the number.

e.g. 1 -- One


Thanks...
 
:help: :help: :help: :help: :help: :help:


Sir, pwidi po ba patulong? My simple VB.net /VB program and code tutorial po ba kau
para sa workflow na ito?

user input text sa TEXTBOX ng form ->
run/execute that input text in CMD(either background process po / another thread / or basic lang) ->
then a MsgBox will prompt saying CODE Executed

input text sample/command line syntax like -> CD .. / DIR etc

Salamat po in advance sa tulong. Newbie lang po ako. Gusto ko sana ma learn ang ganitong system.


:help: :help: :help: :help: :help: :help:
 
Guys help naman, may alam po ba kayong codes gagawa lang po sana ng software like net support, vnc etc. na yung screen ay
na appear sa other computers.

Salamat po 😄😝
 
I hope this thread can help me..paturo naman po gusto ko kasi matutu ng PEARL any palink naman po kung meron kyo tutorial neto..salamat.
 
e2 yong main
public class tax {
public static void main(String[] args) {
int[][] bracketsFor2002 = {
{6000, 27950, 67700, 141250, 307050}, // Single filer
{12000 , 46700, 112850, 171950, 307050}, // married filing jointly
{6000, 23350, 56425, 85975, 153525}, // married filing separately
{10000, 37450, 96700, 156600, 307050} // head of household
};

double[] ratesFor2002 = {0.1, 0.15, 0.27, 0.30, 0.35, 0.386};


taxcompu taxcompuFor2002 = new taxcompu(0, bracketsFor2002, ratesFor2002, 50000);
System.out.println("2010 taxcompu Table");
System.out.println("taxcompuable\tSingle\tMarried \tHead of");
System.out.println("Income\tSingle\tJoint\tSeparate\ta House");
for (int taxcompuableIncome = 50000; taxcompuableIncome <= 60000; taxcompuableIncome += 1000) {
taxcompuFor2002.settaxcompuableIncome(taxcompuableIncome);
taxcompuFor2002.setFilingStatus(0);
int taxcompuForStatus0 = (int)taxcompuFor2002.findtaxcompu();
taxcompuFor2002.setFilingStatus(1);
int taxcompuForStatus1 = (int)taxcompuFor2002.findtaxcompu();
taxcompuFor2002.setFilingStatus(2);
int taxcompuForStatus2 = (int)taxcompuFor2002.findtaxcompu();
taxcompuFor2002.setFilingStatus(3);
int taxcompuForStatus3 = (int)taxcompuFor2002.findtaxcompu();
System.out.println(taxcompuableIncome + "\t" + taxcompuForStatus0 + "\t" +
taxcompuForStatus1 + "\t" + taxcompuForStatus2 + "\t" +
taxcompuForStatus3);
}
}
}


e2 nman ung CLASS
class taxcompu {
public final static int SINGLE_FILER = 1;
public final static int MARRIED_JOINTLY = 2;
public final static int MARRIED_SEPARATELY = 3;
public final static int HEAD_OF_HOUSEHOLD = 4;

private int filingStatus = SINGLE_FILER;

private int[][] brackets = {
{27050, 65550, 136750, 297350}, // Single filer
{45200, 109250, 166500, 297350}, // married filing jointly
{22600, 54625, 83250, 148675}, // married filing separately
{36250, 93650, 151650, 297350} // head of household
};

private double[] rates = {0.15, 0.275, 0.305, 0.355, 0.391};
private double taxcompuableIncome = 100000;

public taxcompu() {
}

public taxcompu(int filingStatus, int[][] brackets, double[] rates,
double taxcompuableIncome) {
this.filingStatus = filingStatus;
this.brackets = brackets;
this.rates = rates;
this.taxcompuableIncome = taxcompuableIncome;
}

public void setBrackets(int[][] brackets) {
this.brackets = brackets;
}

public void setRates(double[] rates) {
this.rates = rates;
}

public double gettaxcompuableIncome() {
return taxcompuableIncome;
}

public void settaxcompuableIncome(double taxcompuableIncome) {
this.taxcompuableIncome = taxcompuableIncome;
}

public int getFilingStatus() {
return filingStatus;
}

public void setFilingStatus(int filingStatus) {
this.filingStatus = filingStatus;
}

public double findtaxcompu() {
double taxcompu = 0;

int i;

// Compute taxcompu in the possible 2nd, 3rd, 4th, and 5th brackets
for (i = 1; i < brackets[0].length; i++) {
if (taxcompuableIncome > brackets[filingStatus])
taxcompu += (brackets[filingStatus] - brackets[filingStatus][i - 1]) *
rates;
else {
taxcompu += (taxcompuableIncome - brackets[filingStatus][i - 1]) * rates;
break;
}
}

// Compute taxcompu in the possible last bracket
if (i == brackets[0].length && taxcompuableIncome > brackets[filingStatus][i - 1])
taxcompu += (taxcompuableIncome - brackets[filingStatus][i - 1]) * rates;

return taxcompu;
}
}

revise lang ung program to input and looping

example:
SINGLE_FILER (0 ), MARRIED_JOINTLY (1 ), MARRIED_SEPARATELY (2 ), HEAD_OF_HOUSEHOLD (3 )
if nag input po siya ng 0 ung SINGLE_FILER tax computation lang lalabas
Income Single
50000 10368
51000 10643
52000 10918
53000 11193
54000 11468
55000 11743
56000 12018
57000 12293
58000 12568
59000 12843
60000 13118
 
Good day sir
Patulong po sa java(oop)
Ask ko lang po kung ano po codes
System po kasi namin is loading system
Ganto po yung process:
Mag i-input si user ng cellphone number
Pipili kumg magkano ang load
Then i loload na ng computer yun

May nkita po ako sa google na at commands

Thank you po sa makakatulong
 
sir patulong po ako,.. search engine po sana sa java pg ngtype ka halimbawa ng description lalabas mga recommendations sa JTable,.. sna mtulungon nyo aq dyn ,.. TNX
 
patulong mga kasb gusto gawin sa log-in ko lagyan yong limit ng paginput ng user kpag ng kamali sya ng password til 3 times lng then mgclose na yong log-in form or meron lalabas na message na xcided na sya sa limit ng ptry ng password... prang sa ATM.
:):pray:
 
Back
Top Bottom