<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>11695</bug_id>
          
          <creation_ts>2011-01-07 20:21:21 +0000</creation_ts>
          <short_desc>import java.util.*; public class GeneralCalculation { static Scanner reader = new Scanner(System.in); public static void main(String[] args) { int Spearman, Slinger, Swordman, Planx, Archer, Sniper, Giro, Giant, Bomber, Ram, Catapult, Mortar, Doctor, Cook</short_desc>
          <delta_ts>2011-08-04 05:03:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML Canvas 2D Context</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#top</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ayg</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>43917</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-01-07 20:21:21 +0000</bug_when>
    <thetext>Specification: http://dev.w3.org/html5/spec/Overview.html
Section: http://www.whatwg.org/specs/web-apps/current-work/complete.html#top

Comment:
import java.util.*;
public class GeneralCalculation
{
static Scanner reader = new Scanner(System.in);
public static void main(String[] args)
{
int Spearman, Slinger, Swordman, Planx, Archer, Sniper, Giro, Giant, Bomber,
Ram, Catapult, Mortar, Doctor, Cook;
int RamShip, PaddleWheelRam, BallistaShip, FireShip, MortarShip, CatapultShip,
DivingShip;
double totalLand, totalSea, total;
System.out.println(&quot;כמה נושאי חנית יש לך?&quot;);
Spearman = reader.nextInt();
System.out.println(&quot;כמה קלעים יש לך?&quot;);
Slinger = reader.nextInt();
System.out.println(&quot;כמה נושאי חרב יש לך?&quot;);
Swordman = reader.nextInt();
System.out.println(&quot;כמה פלנקסים יש לך?&quot;);
Planx = reader.nextInt();
System.out.println(&quot;כמה קשתים יש לך?&quot;);
Archer = reader.nextInt();
System.out.println(&quot;כמה רובאים יש לך?&quot;);
Sniper = reader.nextInt();
System.out.println(&quot;כמה גירוקוטפרים יש לך?&quot;);
Giro = reader.nextInt();
System.out.println(&quot;כמה ענקי קיטור יש לך?&quot;);
Giant = reader.nextInt();
System.out.println(&quot;כמה מפציצים יש לך?&quot;);
Bomber = reader.nextInt();
System.out.println(&quot;כמה איילי ניגוח יש לך?&quot;);
Ram = reader.nextInt();
System.out.println(&quot;כמה קטפולות יש לך?&quot;);
Catapult = reader.nextInt();
System.out.println(&quot;כמה מרגמות יש לך?&quot;);
Mortar = reader.nextInt();
System.out.println(&quot;כמה רופאים יש לך?&quot;);
Doctor = reader.nextInt();
System.out.println(&quot;כמה טבחים יש לך?&quot;);
Cook = reader.nextInt();
totalLand = Spearman*0.6 + Slinger*0.4 + Swordman*1.2 + Planx*1.4 + Archer*1.1
+ Sniper*4 + Giro*2.5 + Giant*6.2 + Bomber*5.8 + Ram*4.4 + Catapult*10.2 +
Mortar*31 + Doctor*10 + Cook*4;
System.out.println(&quot;החיילים שלך שווים &quot; + totalLand + &quot;
גנרלים.&quot;);
System.out.println(&quot;~~~~~~~~~~&quot;);
System.out.println(&quot;כמה ספינות אייל ברזל יש לך?&quot;);
RamShip = reader.nextInt();
System.out.println(&quot;כמה ספינות אייל ברזל מושט יש
לך?&quot;);
PaddleWheelRam = reader.nextInt();
System.out.println(&quot;כמה ספינות בליסטרה יש לך?&quot;);
BallistaShip = reader.nextInt();
System.out.println(&quot;כמה ספינות להביור יש לך?&quot;);
FireShip = reader.nextInt();
System.out.println(&quot;כמה ספינות מרגמה יש לך?&quot;);
MortarShip = reader.nextInt();
System.out.println(&quot;כמה ספינות קטפולה יש לך?&quot;);
CatapultShip = reader.nextInt();
System.out.println(&quot;כמה צוללות יש לך?&quot;);
DivingShip = reader.nextInt();
totalSea = RamShip*5.4 + PaddleWheelRam*36 + BallistaShip*6.8 + FireShip*6.2 +
MortarShip*22.4 + CatapultShip*6.4 + DivingShip*18.2 ;
System.out.println(&quot;הצי הימי שלך שווה &quot; + totalSea + &quot;
גנרלים.&quot;);
System.out.println(&quot;~~~~~~~~~~&quot;);
total = totalLand + totalSea;
System.out.println(&quot;הצבא שלך שווה בסך הכל &quot; + total + &quot;
גנרלים.&quot; );
System.out.println(&quot; &quot;);
System.out.println(&quot;קרדיט ל-eliranisrael, יוצר הקוד.&quot;);
}

} 

__________________


Posted from: 109.65.203.17</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52672</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:03:33 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>