Ask a New Question

Asked by anonymous

how do i write java program using for loop that decreases by 1 and when it reaches 0, it increases to a certain number.
6 years ago

Answers

Answered by anonymous
it has to be under one loop.
6 years ago
There are no AI answers yet. The ability to request AI answers is coming soon!

Submit Your Answer


We prioritize human answers over AI answers.

If you are human, and you can answer this question, please submit your answer.

Related Questions

java, write a program that prints out the letter X composed of asterisks (*) reply soon Write a java program to reverse a any given number Write a java program to store n numbers an array and find the smallest number among them (using arr... Write a Java program that prompts the user for a string. If the string entered by the user does not... write a java program to read a record name, age, and salary. Calculate the tax amount on the salary... Write a Java program that stores Customer accounts with the attributes: (i) Name of the depositor... write a java program using arrays function for hotel bill calculation? Write a java program using classes and object to read the em[loyee code (Integer), Imployee name (st... I did this java program. In this exercise, you will be writing a simple java program to explore the... I did this java program, i just want someone to correct it. In this exercise, you will be writing a...
Submit Your Answer

Question

how do i write java program using for loop that decreases by 1 and when it reaches 0, it increases to a certain number.

Ask a New Question
Archives Contact Us Privacy Policy Terms of Use