import java.util.Scanner;
public class BouncingBall
{
public static void main(String[] args)
{
Scanner keyboard = new Scanner(System.in);
int bounce = 0, time = 0;
double...
Type: Posts; User: Brandos12
import java.util.Scanner;
public class BouncingBall
{
public static void main(String[] args)
{
Scanner keyboard = new Scanner(System.in);
int bounce = 0, time = 0;
double...
Sorry I wasn't more specific.
Here's how the output looks when I use println:
Here's how the output looks when I use printf:
Each time and height is outputted onto the same line (which I...
Hello, I made a program and it works great, but I need the height to be rounded to the nearest 0.1
Here is the program:
import java.util.Scanner;
public class BouncingBall
{
public...