Computer Science, asked by surjyoprprovomotilal, 20 days ago

write a program in qbasic to print all the odd number from 150 to 50 give this answer properly genius or else you will not get 100 points.​

Answers

Answered by samarthkrv
0

Answer:

public class Main

{

 public static void main (String[]args)

 {

   for (int i = 150; i > 50; i--)

     {

if (i % 2 == 1)

  {

    System.out.print (i + " ");

  }

     }

 }

}

Explanation:

Similar questions