State the output of the following: int p = 25, q= 5;
for(p=10;p>=1; p-=2)
{
p-=2;
System.out.println(q);
}
show the working also
Share
State the output of the following: int p = 25, q= 5;
for(p=10;p>=1; p-=2)
{
p-=2;
System.out.println(q);
}
show the working also
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
0 Replies