Heres a snippet of the code:
public static void main(String[] args)
{
double x;
x = (Math.PI)/4;
double rad=0;
double result=0;
System.out.printf("Evaluate x =...
Type: Posts; User: rosh72851
Heres a snippet of the code:
public static void main(String[] args)
{
double x;
x = (Math.PI)/4;
double rad=0;
double result=0;
System.out.printf("Evaluate x =...
Why do I get this error?
Code:
Exception in thread "main" java.util.UnknownFormatConversionException: Conversio n = '5' at java.util.Formatter.checkText
(Formatter.java:2502) at...