Â
In this, we are going to write a program to print the 99, 95, 91, …, 1 in series in Java.class Series2
{
public static void main(String[] args)
{
int i;
for (i = 99; i >= 1; i -= 2)
{
System.out.print(i + " ");
}
}
}
#ENJOY CODING
Post a Comment
FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP