The program of console-based application will be:
public class sumdoubles {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
double num = 0.0;
double sum = 0.0;
while (num != 0.99) {
System.out.print("Enter a double value (0.99 to quit): ");
num = input.nextDouble();
if (num != 0.99)
sum += num;
}
System.out.println("Sum of values entered: " + sum);
}
}
What is console application?
A console application is a computer programme that is intended to be used through a text-only computer interface, such as a text terminal, some operating systems' command-line interface, or even the text-based interface it's included in most graphical user interface (GUI) operating systems, like the Windows Console in Microsoft Windows, the Terminal throughout macOS, and xterm in Unix.
To learn more about console application
https://brainly.com/question/27031409
#SPJ4