Commit a8d3011a authored by cosmina.dunca's avatar cosmina.dunca

Change1

parents
public class App {
public static void main(String[] args) throws Exception {
System.out.println("Hello, World!");
int daysPerWeek = 7;
int numberOfWeeks = 6;
int totalDays = daysPerWeek * numberOfWeeks;
System.out.println(totalDays);
boolean onHoliday = false;
double approxPI = 3.14;
double circumference = 2 * 3 * approxPI;
String greetingString = "Hello";
String introductionString = "My name is Inigo Montoya";
String reminderString = "You killed my father";
String threatString = "Prepare to die!";
System.out.println(greetingString + ", " + introductionString + ", " + reminderString + ", " + threatString);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment