0
I need answer for this code
import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int amount = scanner.nextInt(); //your code goes here int payment=10; int bal=10000; do { System.out.println(bal); bal=payment%amount; } while(amount > 4); } }
2 Answers
+ 2
Share a saved code link instead, so you can describe the task requirement, and people doesn't have to ask you again. If you write the code directly like that, you may not have enough space to write task Description.
https://www.sololearn.com/post/75089/?ref=app
+ 1
Thank you