Documentos de Académico
Documentos de Profesional
Documentos de Cultura
valueOf(z)); } ScrAen:
2 salario docente Source double x,a,z; x=Double.parseDouble(this.textField.getStrin g()); z=(x*x); a=(x*x*x); this.stringItem.setText(String.valueOf(z)); this.stringItem1.setText(String.valueOf(a)); screan:
floow
floow:
resultado
YESICA SEG
resultado
floow:
resultado:
3la edad source: int e; 4promedio e=Integer.parseInt(this.textField.getString()); source : double es,ma,his,fo,ci,z,p; if(e>=18)this.stringItem.setText(String.value Of("eres mayor"));
es=Double.parseDouble(this.textField.getStri ng());
ma=Double.parseDouble(this.textField1.getS tring());
his=Double.parseDouble(this.textField.getStr ing());
fo=Double.parseDouble(this.textField1.getStr ing());
this.stringItem1.setText(String.valueOf(z));
Floow: B
source } else if (command == okCommand) { // write pre-action user code here int n; int factorial=1; int i = 1;
Factorial
FLOW
GRADOS A FARENGEI SOURCE } else if (command == okCommand) { // write pre-action user code here double g,c; g=double.parseDouble(this.textField.getStrin g()); c=g*1.8-32; this.textField.setString(String.valueOf(c));
TU CALIFICACIN ES?
RESULTADO
flow
source } else if (command == okCommand1) { // write pre-action user code here int c; c=Integer.parseInt(this.textField.getString()); if(c==10){ this.stringItem.setText(String.valueOf("matri cula de honer")); } else if(c==9){ this.stringItem.setText(String.valueOf("sobre saliente")); } else if(c==7){ this.stringItem.setText(String.valueOf("notab le")); } else if(c==6){ this.stringItem.setText(String.valueOf("aprov ado")); }
Al Cuadrado y Cubo
Flow
MUSICA SOURCE if (displayable == cantante) { if (command == backCommand) { // write pre-action user code here switchDisplayable(null, getLista()); // write post-action user code here } } else if (displayable == lista) { if (command == buscar) { // write pre-action user code here switchDisplayable(null, getCantante()); // write post-action user code here if this.choiceGroup.isSelected(0)==true){ this.stringItem.setText("Paulina Rubio"); } if (this.choiceGroup.isSelected(1)==true){ this.stringItem.setText("Guns and rouses"); } if (this.choiceGroup.isSelected(2)==true){
source } else if (command == okCommand) { // write pre-action user code here double x,a,z; x=Double.parseDouble(this.textField.getStrin g()); z=(x*x); a=(x*x*x); this.stringItem.setText(String.valueOf(z)); this.stringItem1.setText(String.valueOf(a)); RESULTADO
this.stringItem.setText("Rammstein"); } if (this.choiceGroup.isSelected(3)==true){ this.stringItem.setText("One Direction"); } else if (command == exitCommand) TEST Esta aplicacin nos sirve para llevar varias preguntas y para los conocimientos y que nos muestre el nmero de respuestas correctas. VISTA SCREEN
test int indice; if (displayable == pregunta1) { if (command == exitCommand) { // write pre-action user code here // write post-action user code here } else if (command == okCommand) { // write pre-action user code here indice=choiceGroup.getSelectedIndex(); if (indice==1) total++; switchDisplayable(null, getPregunta2()); // write post-action user code here } } else if (displayable == pregunta10) { if (command == exitCommand5) { // write pre-action user code here // write post-action user code here } else if (command == okCommand10) { // write pre-action user code here indice=choiceGroup9.getSelectedIndex(); if (indice==1) total++; switchDisplayable(getAlert(), getResultado()); // write post-action user code here stringItem.setText("usted tiene" +total+ "respuestas correctas de 10 posibles");
FLOW
double x,y,z; x=Double.parseDouble(this.stringItem.getStri ng()); y=Double.parseDouble(this.textField1.getStri ng()); z=y/(x*x); this.stringItem.setText(String.valueOf(z)); } } else if (displayable == pregunta2) { if (command == exitCommand1) { // write pre-action user code here // write post-action user code here } else if (command == okCommand1) { // write pre-action user code here indice=choiceGroup1.getSelectedIndex(); if (indice==1) total++;
RESULTADO
FLOW
RESULTADO
// write pre-action user code here double x,y,z; x=Double.parseDouble(this.textField1.getStri ng()); y=Double.parseDouble(this.textField2.getStri ng()); z=(x*y)/2; this.stringItem1.setText(String.valueOf(z)); // write post-action user code here } } else if (displayable == form2) { if (command == backCommand2) { // write pre-action user code here switchDisplayable(null, getList()); // write post-action user code here } else if (command == okCommand3) { // write pre-action user code here double x,y,z,a; x=Double.parseDouble(this.textField3.getStri ng()); SOURCE AREAS if (displayable == form) { if (command == backCommand) { // write pre-action user code here switchDisplayable(null, getList()); // write post-action user code here } else if (command == okCommand1) { // write pre-action user code here. double x,z; x=Double.parseDouble(this.textField.getStrin g()); z=(x*x); this.stringItem.setText(String.valueOf(z)); // write post-action user code here } } else if (displayable == form1) { if (command == backCommand1) { // write pre-action user code here switchDisplayable(null, getList()); // write post-action user code here } else if (command == okCommand2) { y=Double.parseDouble(this.textField4.getStri ng()); z=Double.parseDouble(this.textField5.getStri ng()); a=(x+y)*z/2; this.stringItem2.setText(String.valueOf(a)); // write post-action user code here } } else if (displayable == list) { if (command == List.SELECT_COMMAND) {