Assignemnt #21 and Rude Questions
Code
/// Name: Yordan Rashkov
/// Period: 7
/// Program Name: Rude Questions
/// File Name: RudeQuestions.java
/// Date Finished: 10/05/2015
import java.util.Scanner;
public class RudeQuestions
{
public static void main( String[] args )
{
String name;
int age;
double weight, income;
Scanner keyboard = new Scanner(System.in);
System.out.print( "Hey! What's your name? " );
name = keyboard.next();
System.out.print( " ( " + name + " ) how old are you? " );
age = keyboard.nextInt();
System.out.println( "So you're " + age + ", huh? You ain't that old bruh!" );
System.out.print( "How much you weigh, " + name +"? " );
weight = keyboard.nextDouble();
System.out.print( weight + "! You're pretty fat bud! Now lemme ask ya, " + name + " , how much ya make ? " );
income = keyboard.nextDouble();
System.out.println( " Hopefully " + income + " is whatcha make in an hour, not in a year!" );
System.out.println( " Well, thanks for allowing me to make fun of you, " + name + "." );
}
}