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!
nasan yung para sa silver and gold?
e2 po pala....
gold-5
silver-10
no color-20
kayo nyo p e2 gawin ngayon...,, e2 nlng po kc tlga ung ndi q nttpos..gumagawa po aq ngaun ng flowchart ng mga ntpos q na...w8 q po ngayon ung code...salamat!!
di ako nagbibigay ng complete code. post mo dito yung naumpisahan mo na. sorry, mejo limot ko na kasi c++
if v >= 1000000000
4th color = "white"
v = v % 1000000000
if v >900
1st color = "white"
v=v%900
if v>90
2ndcolor = "white"
if v = 9
3rdcolor = "white"
if v = 8
3rdcolor = "gray"
if v = 7
3rdcolor = "violet"
if v = 6
3rdcolor = "blue"
if v = 5
3rdcolor = "green"
if v = 4
3rdcolor = "yellow"
if v = 3
3rdcolor = "orange"
if v = 2
3rdcolor = "red"
if v = 1
3rdcolor = "brown"
if v = 0
3rdcolor = "black"
pa help po sa java
ito po ung problem. Declare am integer array with 10 slots.
Make a program that will ask the user to input an integer in every slot. use for loop in entering the numbers. plsss
import java.util.* ;
public class kawbahala {
public static void main ( String [ ] args ) {
Scanner input = new Scanner ( System.in ) ;
int num = 0 ;
int numArray [ ] = new int [ 9 ] ; // 0 1 2 3 4 5 6 7 8 9
System.out.println ( "Input 10 Integer" ) ;
for ( int i = 0 ; i < numArray.length ; i ++ ) {
num = input.nextInt ( ) ;
numArray [ i ] = num ;
}
for ( int i = 0 ; i < numArray.length ; i ++ ) {
System.out.print ( numArray [ i ] + " " ) ;
}
}
}
Code:import java.util.* ; public class kawbahala { public static void main ( String [ ] args ) { Scanner input = new Scanner ( System.in ) ; int num = 0 ; int numArray [ ] = new int [ 9 ] ; // 0 1 2 3 4 5 6 7 8 9 System.out.println ( "Input 10 Integer" ) ; for ( int i = 0 ; i < numArray.length ; i ++ ) { num = input.nextInt ( ) ; numArray [ i ] = num ; } for ( int i = 0 ; i < numArray.length ; i ++ ) { System.out.print ( numArray [ i ] + " " ) ; } } }
Hi guys,
Help naman gustong gusto ko matuto at magustohan ang programming world, actually nag aral na nga ako ng programming in c++ sa MFI... kaso parang c++ ang may ayaw sakin... Anu bang kailangan kong gawin para magustohan ng isip ko ang programming world....
Hope you can help me with my major major problem...
Thanks,
Zimonzayz
Code:if v >= 1000000000 4th color = "white" v = v % 1000000000 if v >900 1st color = "white" v=v%900 if v>90 2ndcolor = "white" if v = 9 3rdcolor = "white" if v = 8 3rdcolor = "gray" if v = 7 3rdcolor = "violet" if v = 6 3rdcolor = "blue" if v = 5 3rdcolor = "green" if v = 4 3rdcolor = "yellow" if v = 3 3rdcolor = "orange" if v = 2 3rdcolor = "red" if v = 1 3rdcolor = "brown" if v = 0 3rdcolor = "black"
yan, sample pattern