Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package skola;
- /**
- *
- * @author Felix 1
- */
- public class Uppgift81 {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- for(int i = 3; i <= 10; i++)
- {
- System.out.println(i);
- }
- int i = 3;
- do
- {
- System.out.println(i);
- i++;
- }
- while(i <= 10);
- }
- }
Add Comment
Please, Sign In to add comment