Lab4 go brrrrrr!
This commit is contained in:
parent
fc117cd0f9
commit
a1c6a05bea
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/lab4_CalebFontenot/target/
|
14
lab4_CalebFontenot/pom.xml
Normal file
14
lab4_CalebFontenot/pom.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.calebfontenot.lab4_calebfontenot</groupId>
|
||||
<artifactId>lab4_CalebFontenot</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>18</maven.compiler.source>
|
||||
<maven.compiler.target>18</maven.compiler.target>
|
||||
<exec.mainClass>com.calebfontenot.lab4_calebfontenot.Lab4_CalebFontenot</exec.mainClass>
|
||||
</properties>
|
||||
</project>
|
@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Project/Maven2/JavaApp/src/main/java/${packagePath}/${mainClassName}.java to edit this template
|
||||
*/
|
||||
|
||||
package com.calebfontenot.lab4_calebfontenot;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
*/
|
||||
public class Lab4_CalebFontenot {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
int i = 11,
|
||||
j = 22;
|
||||
double x = 11.11,
|
||||
y = 22.22;
|
||||
|
||||
System.out.println("\n" + i + " + " + j + " = " + (i + j));
|
||||
System.out.println("\n" + x + " + " + y + " = " + (x + y));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user