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
nika2105 [10]
4 years ago
14

Write a loop to print 11 to 35 inclusive (this means it should include both the 11 and 35), 5 per line.

Computers and Technology
2 answers:
Nata [24]4 years ago
6 0

i = 11

while i < 36:

   print(i)

   i = i + 1

Hope it helps.

julsineya [31]4 years ago
5 0

The idea is the following (the specific code will vary depending on the specific language):

  • declare a global counter, i = 11, and an inner counter, c = 0.
  • make a for loop where i runts from 11 to 35 (inclusive)
  • for each iteration, print i and increase c by 1. If c=5, print a return carriage (\n) and reset count to 0.

For example, in Java you'd have

public class PrintNumbers{

    public static void main(String []args){

       int i;

       int c = 0;

       for (i=11; i<=35; i++){

           System.out.print(i + " ");

           c++;

           if(c==5){System.out.print("\n"); c=0;}

       }

    }

}

You might be interested in
Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Pani-rosa [81]

Answer:

¹²³⁴⁵⁶⁷⁸⁹

Explanation:

4 0
4 years ago
Provide an example by creating a short story or explanation of an instance where confidentiality would be broken.​
Reil [10]

Explanation:

Personal Insurance

Confidentiality in the workplace: What you need to know

When you give advice to clients or patients for a living, you'll know that protecting sensitive and personal information is crucial. But are you clear on what counts as a breach of confidence or what to do if one occurs?

From how to protect confidential information, to what breaches of confidence look like for different jobs, here's what you need to know about confidentiality in the workplace.

What is a breach of confidentiality?

In short, a confidentiality breach is the disclosure of information to someone without the consent of the person who owns it. In other words, failing to respect a person's privacy or the confidence in which they gave the information or data to you, by passing it onto someone else.

Why is confidentiality important?

Protecting confidential information is vital. If you're in a position where you have access to or are given this type of data at work, your career relies on your ability to keep patient or client confidentiality. If you don't, you could lose trust and integrity in the eyes of your existing (and potential future) clients, who could terminate your contract and take legal action against you.

Therapist/patient confidentiality

Unsurprisingly, patient confidentiality is highly important for therapists and counsellors. It forms part of the therapeutic frame of appropriate boundaries, which creates a safe space for a good working relationship to form.

Here’re some examples of ways you could unintentionally break patient/therapist confidentiality:

Sharing confidential information about a client with a family member or friend

Talking about confidential information somewhere you can be overheard

Leaving your computer containing confidential information open to others

Continuing to work with a client when there's a conflict of interests (for example, they know one of your family members or friends)

When permission to share information is given but isn't specific, this can create confusion and result in a potential breach (for example, a patient may give permission for their information to be shared with a teacher but not their GP)

7 0
4 years ago
Sub to the channel plz plz
Hunter-Best [27]

Answer:

um

Explanation:

6 0
3 years ago
Read 2 more answers
Operating software is a must in every software (a) True (b) False
AveGali [126]

Answer:

False

Explanation:

Some bare metal do not need an OS at all.

4 0
3 years ago
What may occur if a forever loop generates data but does not delete it?
zhenek [66]

Answer:

When an infinite loop occurs, the CPU will be maximized to 100% which results in the game's performance slowing down.

There are other implications of the data being generated and not deleted, but this question seems to focus on the effect of the loop itself.

5 0
2 years ago
Other questions:
  • Joshua is creating his résumé, in which section will he add projects and trainings he was involved in?
    10·1 answer
  • Explain the steps you take to complete an Internet search. Do you use a particular search engine every time or do you alternate?
    6·1 answer
  • after turning the volume all the way up on the speakers you still can't hear any sound which of the following should be your the
    13·1 answer
  • 2. Does the government have the right to tell you what religion you should follow? Why or why not?
    9·2 answers
  • Which computer network component connects two different networks together and allows them to communicate?
    8·2 answers
  • What kind of skills does an electronics engineering tech need as requirement in the workplace?
    6·1 answer
  • 2ND LAST QUESTION
    13·1 answer
  • Why is it important to consider the clients temperature before doing the foot spa services?​
    13·1 answer
  • The function retrieveAt of the class arrayListType is written as a void function. Rewrite this function so that it is written as
    10·1 answer
  • Which option in PowerPoint allows users to configure the number of columns and rows manually, using numerical values?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!