Ask a Question | Answer a Question! |

Submitting your question...
ResFinder - Thousands of Practice Papers
What type of market do mobile phones belong to?
This is for comm app/eco app people |
 |
asked by Sidra Haider (sidrahaider) 8 years ago |
2 |
Guys i want to print this pattern=> 54321
4321
321
21
1
So i wrote this code
public class HelloWorld
{
public static void main(String[] args)
{ int k=0;
for(int i=5;i>=1;i--)
{
for(int j=i;j>=1;j--)
{
if(j<5)
{
while(k!=i)
{
System.out.print(" ");
k--;
}
}
System.out.print(j);
}System.out.println();
}
}
}
Is it wrong? |
 |
asked by Abhishek Agrawal (agrek) 8 years ago |
4 |
+ 3 more questions by agrek
What are object datatypes. |
 |
asked by Abhishek Agrawal (agrek) 8 years ago |
1 |
Difference between control statement and control variable. |
 |
asked by Abhishek Agrawal (agrek) 8 years ago |
1 |
To find the index of spaces cant we just write s.indexOf(' '); ? |
 |
asked by Abhishek Agrawal (agrek) 8 years ago |
1 |
how to write a selection sort question plzz tell really confused |
 |
asked by Prateek Rawat (prateek25) 8 years ago |
1 |
should we write the outputs for the programs??? |
 |
asked by Vijay Kr
(krvijay28) 8 years ago |
2 | + 1 more questions by krvijay28
program to count the number of digits in a number(3 digit or 4 digit...) |
 |
asked by Vijay Kr
(krvijay28) 8 years ago |
1 |
|
Guys what u doing now?? Plz don't tell me playing etcetc.. I mean solving papers or reading tb or exactly what I'm confused now.. |
 |
asked by Abhishek Shyam (abhibenne) 8 years ago |
1 |
WAP to accept n elements in an array and seprate the single digit numbers into 1 array and double digit numbers into another array
Pls help...and giv me the simplest program |
 |
asked by Bhavana (mpc123) 8 years ago |
2 |
Prog. for :
6 6 6 6 6 6
5 5 5 5 5
4 4 4 4
3 3 3
2 2
1
Any1 ? Thanks |
 |
asked by Aavesh Kumar (aavesh) 8 years ago |
4 |
can anyone say in simple language what valueOf()function does |
 |
asked by Adithya Kannan (adiketh198) 8 years ago |
1 |
|