write java program to print the sentence welcome to java 5 times, using while loop and draw flowchart diagram
- برمجة
- برمجة جافا
- 2021-10-05
- softwareEngineer
الأجوبة
/********
write java program to print the sentence welcome to java 5 times, using while loop
********/
public class Main
{
public static void main(String[] args) {
int i=1;
while(i<=5)
{
System.out.println("welcome to java");
i++;
}
}
}
output:
welcome to java
welcome to java
welcome to java
welcome to java
welcome to java
أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال