Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fad6f22

Browse files
committed
skeleton for loop exercises
1 parent 00914bb commit fad6f22

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

skel/ForExercise.java

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
2+
import java.util.Scanner;
3+
/**
4+
*
5+
* Working code skeleton for exercises to be done
6+
* with for loops and methods slide deck 11
7+
*
8+
* 360-420-DW Intro to Java
9+
*
10+
*
11+
* @author your name goes here
12+
* @version 2018-02-?? (todays date goes here, delete this text)
13+
**/
14+
15+
public class ForExercise {
16+
public static void main(String[] args) {
17+
// variables go here & delete or replace this comment
18+
Scanner keyboard = new Scanner(System.in);
19+
20+
// logic goes here & delete or replace this comment
21+
System.out.println("Brought to you by Dawson College");
22+
23+
24+
} // main()
25+
26+
/**
27+
* This is a method skeleton
28+
* use it to create your own methods
29+
* modify this text & the @param/ @return
30+
* modify the method name, parameters
31+
* return type and content as needed.
32+
*
33+
* 360-420-DW Intro to Java
34+
* @param tbd
35+
* @return tbd
36+
**/
37+
public static void changeThisName() {
38+
// TODO: put your content here
39+
// TODO: add parameters as needed
40+
// TODO: change return type as needed
41+
} // changeThisName()
42+
43+
44+
} // ForExercises

0 commit comments

Comments
 (0)