mirror of
https://github.com/13hannes11/archive.git
synced 2024-09-03 21:50:58 +02:00
added all past projects
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package subtraktion_1;
|
||||
public class Subtraktion_1
|
||||
{
|
||||
public static void main(String[] args)
|
||||
{
|
||||
int minuend, subtrahend, differenz;
|
||||
minuend=3;
|
||||
subtrahend=2;
|
||||
differenz=minuend-subtrahend;
|
||||
System.out.print("Diese programm führt eine Subtraktion zweier Zahlen aus: ");
|
||||
System.out.println(minuend+"-"+subtrahend+"="+differenz );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user