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
Thepotemich [5.8K]
3 years ago
11

Edhesive 6.1 Code Practice

Computers and Technology
2 answers:
Mariulka [41]3 years ago
6 0

What kind of question is this?

Katyanochek1 [597]3 years ago
5 0

Answer:

Explanation:

I could find an Introduction to Computer Science  course online about this question, in this course, in unit 6 and the first lesson is about LOOP.

Loop in programming is a cycle, we can use a cycle for and cycle while, this depends on our needs.

For example:

We could need an increase 1 by 1 in a number, we're going to do an example in the language java.

In this case, we have the variable "i" equal to 0, this variable going to increase with this code "++i" 1 by 1, with the condition i < 5, If the variables i is less than 5 then increase variable, until "i" be equal to 5, we print the result with the line System.out.println(i);  

would be:

0

1

2

3

4

Until 4 because the condition is always less than 5, we cannot print 5 because is equal to 5

for (int i = 0; i < 5; ++i) {

   System.out.println(i);

}

You might be interested in
Which Creative Commons license type allows others to use and build upon work non-commercially, provided that they credit origina
Vera_Pavlovna [14]

Answer:

Creative Commons license type allows others to use and build upon work non-commercially, provided that they credit original author and maintain the same licensing is described below in detail.

Explanation:

Attribution-Non financially-ShareAlike

This permission lets others adapt, remix, and develop upon your work non-financially, as long as they charge you and license their new inventions under identical times. There are six separate license classes, scheduled from most to least licensed. the material in any mechanism or arrangement, so long as attribution is given to the originator.

8 0
3 years ago
Which of the following was the most significant impact the phonograph had on the recording arts industry?
liraira [26]

Answer:

The phonograph led to mass distribution of recordings.

Explanation:

I just took this assignment. :)

4 0
3 years ago
Read 2 more answers
Write a c++ program to input basic salary of an employee and calculate its Gross salary according to following
GREYUIT [131]
<h2>\large\bold{\underline{\underline{Program :}}}</h2>

#include<iostream>

using namespace std;

int main ()

{

float basic, gross, da, hra;

cout<<"Enter basic salary of an employee:";

cin>>basic;

if (basic <25000)

{

da = basic *80/100;

hra = basic *20/100;

}

else if (basic >=25000 & & basic<40000)

{

da = basic *90/100;

hra = basic *25/100;

}

else if (basic>=40000)

{

da = basic *95/100;

hra = basic *30/100;

}

gross = basic + hra + da;

cout<<"\n\t Basic Pay............" <<basic<<endl;

cout<<"\t Dearness Allowance..........." <<da<<endl;

cout<<"\t House Rent Allowance......" <<hra<<endl;

cout<<"\t Gross Salary............." <<gross<<endl;

cout<<"\t - - - - - - - - - - - - - - -" <<endl;

<h2>\large\bold{\underline{\underline{Output :}}}</h2>

Enter Basic Salary of an employee : 25000

Basic Pay : 25000

Dearness Allowance : 22500

House Rent Allowance : 6250

Gross Salary : 53750

<h2>\large\bold{\underline{\underline{Result :}}}</h2>

<h3>The Expected Output is archived</h3>
7 0
2 years ago
I’m so lost. which username do i do.
koban [17]

Answer:

the username you feel like using

5 0
3 years ago
Read 2 more answers
To create a numbered list, you use the numbering button in the ____ group.
Jet001 [13]
To create a numbered list, use the button in the Paragraph group
5 0
3 years ago
Other questions:
  • The ________ occurs when the user presses the enter key without typing a value for an input operation.
    5·1 answer
  • The _________keys include the home, end, and arrow keys.
    13·1 answer
  • A sentinel value ________ and signals that there are no more values to be entered:____
    14·1 answer
  • In a complex system, many subsystems interact with one another. How do these systems interact in terms of inputs and outputs?
    10·1 answer
  • Which phrase refers to the collection of geospatial data through the use of satellite images/pictures?
    13·1 answer
  • list the six enternal parts or peripherals of a computer system and identify which are output and which are input devices?
    8·2 answers
  • The cardinality of the friend_of relationship set between two student entities in the student entity set should be:
    5·1 answer
  • What are some ways to rename a worksheet? Check all that apply.
    9·1 answer
  • What is the full form of the OS?​
    15·2 answers
  • Choose 2 statements that correctly describe the time complexity of data structures with N data.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!