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
podryga [215]
3 years ago
10

Flowchart in programming

Computers and Technology
1 answer:
ArbitrLikvidat [17]3 years ago
7 0

Answer:

?

Explanation:

You might be interested in
I'm stuck on this Java exercise problem and don't know how to organize my code with proper formatting and it's not helping that
Volgvan

In your "count spaces method" before the for loop, you want to declare an int variable (let's call it spc)

then, each time you find that charat, spc++.


also, the string must be declared in the main method, not the spaces count method.


The actual code:


public class CountSpaces{

public static void main(String[] args){

String instring = "(your quote here)";

int spaces = calculateSpaces(instring);

System.out.println("The number of spaces is " + spaces);

}

public static int calculateSpaces(String in){

int spc = 0;

for(int i= 0; i<in.length; i++){

if(in.charAt(i)== ' '){

spc++;

}

}

return spc;

}

}


that should be it.  If you have any questions, feel free to reach out.

4 0
3 years ago
Where does the computer store instructions and data that are needed frequently by the cpu?
Elden [556K]
L1 Cache

There other cache levels but the most frequently used data is put in L1d (d for data) and L1i (i for instructions).


3 0
4 years ago
The process of using or controlling two or more windows at a time is known as. a threading .b multitasking. c hyperthreading.d s
mixas84 [53]
<span>The process of using or controlling two or more windows at a time is known as multitasking.</span>
5 0
4 years ago
Which of the following is the fastest growing input technique​
Natali [406]
We need more information for this one, please.
8 0
3 years ago
Lungi’s risk manager has advised him never to have more than 30 blankets in stock. Q.2.1 Write the pseudocode for two modules wh
USPshnik [31]

Using the knowledge of pseudocodes it is possible to organize the stock of a store with the correct amount of blankets.

<h3>Writing the code in pseudocode we have:</h3>

<em>int blanket_info(30)</em>

<em>int blanket_disc,size_blanket,i,j;</em>

<em>for (i=0;i<n;i++){</em>

<em>insert the discription of every blanket (blanket_disc);</em>

<em>}</em>

<em>for(j=0;j<n;j++){</em>

<em>insert the size of blanket (size_blanket);</em>

<em>}</em>

<em>return arr [ ][ ];</em>

<em>int print_list()</em>

<em>end;,</em>

See more about pseudocode at brainly.com/question/13208346

#SPJ1

6 0
3 years ago
Other questions:
  • Choosing firm goals for your business
    7·2 answers
  • Invention I chose was radio.
    9·1 answer
  • Which of the following office online apps is most effective for creating multi media presentation
    10·2 answers
  • 8. When requesting a review of a denied claim, it is required to send a _______________ with the claim.
    10·1 answer
  • public class Ex0506 { public static void main (String args[]) { int x = 2; while (x &lt; 10) { if (x % 2 == 0) x+=3; else x+=2;
    15·1 answer
  • Question 1<br> REVPAR and REVPOR are basically the same thing.<br> True<br> False
    11·1 answer
  • Karen wants to create a program that will allow the user to input their age. Which of these lines of code should be used?
    11·1 answer
  • What is the name of tool
    11·1 answer
  • 1. State three types of web protocols​
    14·1 answer
  • Hypertext enables you to navigate through pieces of information by clicking the __________, that connect them.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!