1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
WITCHER [35]
3 years ago
14

Fix the 2 error codes.

Computers and Technology
1 answer:
motikmotik3 years ago
4 0

Answer:

See Explanation

Explanation:

Considering the first program: DebugSix2.java

The following statement needs to be terminated

<em>System.out.println("\nEnd of application")</em>

as

<em>System.out.println("\nEnd of application");</em>

Then, the loop needs to be enclosed as this:

<em>for(a = MIN; a <= MAX; a++){ </em>

<em> letter = (char)a; </em>

<em> System.out.print(" " + letter); </em>

<em> if((a == STOPLINE1) & (a == STOPLINE2)) </em>

<em> System.out.println();} </em>

Considering the first program: DebugSix4.java

You only need to initialize variable count to 0 as this:

<em>count = 0</em>

<em>I've added the correct source code as an attachment</em>

Download java
You might be interested in
What is the text output by the program?
Ostrovityanka [42]

Answer:

30 or more

Explanation:

6 0
3 years ago
Read 2 more answers
Suporting details gives you?
Korvikt [17]

The answer is option B "more information about the subject." Supporting details are used to support your argument in your essay, so you have more faces, and information in order to make a strong argument. Supporting details do indeed make your paragraph bigger but that's not the reason why they are used. Supporting details help you prove your claim and defend your argument against people who think the opposite way of your claim.

Hope this helps!

6 0
3 years ago
Mary uploaded some images on her website. She chose an image and downloaded it. She found that the image she saw on screen did n
zalisa [80]

Answer:

A.

Some image resolution was lost while uploading it

As she uploaded them on her website not downloading as choice B&D show while E is false and C is rarely occur

7 0
3 years ago
Write a Java program that can calculate and print out the area of a circle. The user enters data of the radius and its measureme
mezya [45]

Answer:

// program in java.

// package

import java.util.*;

// class definition

class Main

{

   // main method of the class

public static void main (String[] args) throws java.lang.Exception

{

   try{

  // Scanner object to read input

Scanner scr=new Scanner(System.in);

 // variables

double rad;

String unit1="in";

String unit2="ft";

String unit3="cm";

String unit4="m";

// ask user to enter radius

System.out.print("Enter the radius: ");

 // read radius

rad=scr.nextDouble();

 // check radius is negative or not

while(rad<0)

{

    System.out.println("Radius can't be negative:");

     // ask again to enter radius

    System.out.print("Enter the Radius again:");

     // read radius again

    rad=scr.nextInt();

}

// ask user to enter the unit of measurement

System.out.print("Enter the unit (\"in\" for inch, \"ft\" for feet, \"cm\" for centimeter, and \"m\" for meter):");

 // read unit

 String unt=scr.next();

 // calculate area

double area=3.14*rad*rad;

 // print area and unit

if(unt.equals(unit1))

    System.out.println(area+" inch.");

else if(unt.equals(unit2))

    System.out.println(area+" feet.");

else if(unt.equals(unit3))

    System.out.println(area+" centimeter.");

else if(unt.equals(unit4))

    System.out.println(area+" meter.");

   }catch(Exception ex){

       return;}

}

}

Explanation:

Read radius of circle from user with Scanner object and assign it to variable "rad".Check the radius is negative or not.If the radius is negative ask user to enter radius again until user enters a positive radius.Then read the unit of measurement.calculate the area of circle and print area with unit.

Output:

Enter the radius: -4

Radius can't be negative:

Enter the Radius again:6

Enter the unit ("in" for inch, "ft" for feet, "cm" for centimeter, and "m" for meter):cm

Area of circle is 113.03999999999999 centimeter.

5 0
4 years ago
What are the options included in the Illustrations command group? Check all that apply O Pictures and Online Pictures Tables Sma
MArishka [77]

Answer:

A. Pictures and Online Pictures.

C. SmartArt.

D. Screenshot Tool

Explanation:

Microsoft Excel is a software application designed and developed by Microsoft Inc., for analyzing and visualizing spreadsheet documents.

A spreadsheet can be defined as a file or document which comprises of cells in a tabulated format (rows and columns) typically used for formatting, arranging, analyzing, storing, calculating and sorting data on computer systems.

There are five (5) options included in the Illustrations command group of the Microsoft Excel software application and these are;

I. <u>Pictures</u>: this command or button is used to add images from a document (file) saved on a local computer.

II. <u>Online Pictures</u>: it is used for adding images from an online source such as blogs, websites etc.

III. <u>SmartArt</u>: this button is used to add graphical diagrams to a spreadsheet using styles such as process, matrix, relationship, picture, pyramid, list etc.

IV. <u>Screenshot Tool</u>: this is used for taking a snapshot of any window open on the computer i.e screen clipping.

V. <u>Shapes</u>: this comprises of various shapes such as lines, basic shapes, rectangles, equation shapes, block arrows, and flowchart.

8 0
3 years ago
Read 2 more answers
Other questions:
  • When pasting a circle drawn by the presentation software drawing tool into a spreadsheet, that circle will go into the selected
    13·2 answers
  • Summarize who you believe cyber criminals are, and why?
    8·1 answer
  • Trudy is preparing a reply to an email message. Before she could send out the message, she is called for a meeting. If Trudy has
    6·2 answers
  • -) An attribute is a(n)?
    5·1 answer
  • What is a font tag? And full form of HTML?
    14·1 answer
  • Necesito ejemplos de actitud filosófica por favor
    8·1 answer
  • Many Java programs that you create will receive and process user input. In order to ensure that user input is accurate, you will
    5·1 answer
  • Choose the response that best completes the following statement.
    5·1 answer
  • To rename a worksheet, you change the text on the ? HELP ASAP
    5·1 answer
  • Scripting languages are unique computer languages with a specialized function. explain what scripting languages do, and how this
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!