Computer Science, asked by daisy1976rani, 3 months ago

a) Rewrite the following using while loop:(Java)
for(int m=5;m > 0: m -- )
System.out.print( m + "t");
System.out.print("Program");​

Answers

Answered by mohitmeenaji00
0

Answer:

Explanation:

define electric potential, obtain an expression of electric potential due to an electric dipole at any point (r,o) draws necessary Define dipole diagram

Answered by nidaeamann
0

Explanation:

For and while are two commonly used looping techniques that are used in all sorts of programming languages. Java is one of the most commonly used computer programming language.

The revised version of the given piece of program can be written as

int m = 5;

while (m>0)

{

System.out.print( m + "t");  

System.out.print("Program");

m = m - 1;

}

Similar questions