Lab4 go brrrrrr!

master
Chloe Fontenot 🏳️‍⚧️ 2022-08-29 21:30:07 +07:00
parent fc117cd0f9
commit a1c6a05bea
5 changed files with 39 additions and 0 deletions

1
.gitignore vendored

@ -0,0 +1 @@
/lab4_CalebFontenot/target/

@ -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));
}
}