Hackland Launcher
1
0<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.aide.trainer.myapp"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="17" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:label="@string/app_name"
android:theme="@android:style/Theme.Holo.Light"
android:name=".MainActivity" >
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>import java.util.*;
public class Main
{
public static void main(String[] args)
{
System.out.println("Hello World!");
Scanner input = new Scanner(System.in);
System.out.print("Enter a number: ");
double number1 = input.nextDouble();
System.out.print("Enter second number: ");
double number2 = input.nextDouble();
double product = number1 * number2;
System.out.printf("The product of both numbers is: %f", product);
}
}
Follow