40 lines
1.6 KiB
HTML
40 lines
1.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html>
|
|
<head>
|
|
<title>Bug1.java</title>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<style type="text/css">
|
|
<!--
|
|
body {color: #a9b7c6; background-color: #2b2b2b; font-family: Ubuntu}
|
|
pre {color: #a9b7c6; background-color: #2b2b2b; font-family: Ubuntu}
|
|
table {color: #888888; background-color: #313335; font-family: Ubuntu}
|
|
.literal {color: #cc7832}
|
|
.number {color: #6897bb}
|
|
.string {color: #6a8759}
|
|
.whitespace {color: #505050}
|
|
.ST0 {color: #ffc66d; font-family: Ubuntu; font-style: italic}
|
|
.ST1 {color: #9876aa; font-family: Ubuntu; font-style: italic}
|
|
-->
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table width="100%"><tr><td align="center">/home/caleb/ASDV-Java/Assignments/lab13_CalebFontenot/src/lab13_calebfontenot/Bug1.java</td></tr></table>
|
|
<pre>
|
|
<span class="literal">package</span> lab13_calebfontenot;
|
|
|
|
<span class="literal">public</span> <span class="literal">class</span> Bug1 {
|
|
|
|
<span class="literal">public</span> <span class="literal">static</span> <span class="literal">void</span> <span class="ST0">main</span>(String[] args)
|
|
{
|
|
<span class="literal">int</span> count = <span class="number">1</span>;
|
|
<span class="literal">while</span> (count < <span class="number">100</span>) {
|
|
System.<span class="ST1">out</span>.println(<span class="string">"</span><span class="string">count: </span><span class="string">"</span> + count);
|
|
count *= <span class="number">2</span>;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
</pre></body>
|
|
</html>
|