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
charle [14.2K]
3 years ago
15

"Write a statement that outputs variable numItems. End with a newline. Program will be tested with different input values."

Engineering
1 answer:
kirill [66]3 years ago
6 0

Answer:

The solution code is written in Java.

System.out.println(numItems);

Explanation:

Java <em>println() </em>method can be used to display any string on the console terminal. We can use <em>println()</em> method to output the value held by variable <em>numItems.</em> The <em>numItems </em>is passed as the input parameter to <em>println()</em> and this will output the value of <em>numItems</em> to console terminal and at the same time the output with be ended with a newline automatically.  

You might be interested in
What type of intersection is this?
mote1985 [20]
Diverging Diamond Interchange
6 0
3 years ago
How to get on your screen on 2k20 in every mode
VashaNatasha [74]
D pad or rb or lb hop this helps
5 0
2 years ago
Read 2 more answers
In part A you are asked to write the pseudocode for the program. In part B you are asked to write the syntax of the code for the
Naya [18.7K]

Answer:

C++.

Explanation:

#include <iostream>

#include <string>

using namespace std;

///////////////////////////////////////////////////////////////

int main() {

   string quote, book;

   int page;

   

   cout<<"What is your favorite quote from a book?"<<endl;

   getline(cin, quote);

   cout<<endl;

   /////////////////////////////////////////////

   cout<<"What book was that quote from?"<<endl;

   getline(cin, book);

   cout<<endl;

   /////////////////////////////////////////////

   cout<<"What page was that quote from?"<<endl;

   cin>>page;

   cout<<endl;

   /////////////////////////////////////////////

   int no_of_upper_characters = 0;

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

       if (isupper(quote[i]))

          no_of_upper_characters++;

   }

   

   cout<<"No. of upper case characters: "<<no_of_upper_characters<<endl;

   /////////////////////////////////////////////

   int no_of_characters = quote.length();

   cout<<"No. of characters: "<<no_of_characters<<endl;

   /////////////////////////////////////////////

   bool isDog = false;

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

       if (isDog == true)

           break;

       else if (quote[i] == 'd') {

           for (int j=i+1; j<quote.length(); j++) {

               if (isDog == true)

                   break;

               else if (quote[j] == 'o') {

                   for (int z=j+1; z<quote.length(); z++) {

                       if (quote[z] == 'g') {

                           isDog = true;

                           break;

                       }

                   }

               }

           }

       }

   }

   

   if (isDog == true)

       cout<<"This includes 'd' 'o' 'g' in the quote";

   //////////////////////////////////////////////

   return 0;

}

3 0
3 years ago
How many robots does bailey nursery own ​
givi [52]

Answer:

The Bailey family has flourished during its business’ 110-year history. But Bailey Nurseries’ leaders still operate with the belief that the family doesn’t always know best. The company has grown from a one-man operation selling fruit trees and ornamental shrubs to one of the largest wholesale nurseries in the United States, thanks to insights from those who are family and those who aren’t.

“For a business to thrive, you have to ask for outside help,” says Terri McEnaney, president of the Newport-based company and a fourth-generation family member. “We get an outside perspective through family business programs, advisors and our board, because you can get a bit ingrained in your own way of thinking.”

When Bailey Nurseries chose its current leader in 2000, it brought in a facilitator who gathered insights from key employees, board members and owners. Third-generation leaders (and brothers) Gordie and Rod Bailey picked Rod’s daughter McEnaney, who had experience both inside and outside the company.

Explanation:

5 0
2 years ago
Going green means: increasing one's initiatives toward a concern for the environment. increasing one's bottom line, before any o
Tcecarenko [31]

Answer:

Going green means increasing one's initiatives toward a concern for the environment.

Explanation:

Going green involves all the knowledge and practices that can lead to more environmentally friendly and ecologically responsible decisions and lifestyles, which would protect and sustain the natural resources present in the environment for both present and future generations.

8 0
3 years ago
Other questions:
  • A stone-filled pit used for waste disposal is commonly referred to as a
    15·1 answer
  • A flat-plate solar collector is 2 m long and 1 m wide and is inclined 60o to the horizontal. The cover plate is separated from t
    13·1 answer
  • Water is flowing in a metal pipe. The pipe OD (outside diameter) is 61 cm. The pipe length is 120 m. The pipe wall thickness is
    9·1 answer
  • An MRI technician moves his hand from a region of very low magnetic field strength into an MRI scanner’s 2.00 T field with his f
    5·1 answer
  • What are the important things to remember when arriving for an interview?
    15·1 answer
  • Fluorescent troffers are a type of _ lighting fixture
    6·1 answer
  • How can any student outside apply for studying engineering at Cambridge University​
    7·1 answer
  • 1. Làm thế nào để đảm bảo tính khả thi của văn bản hành chính ?
    12·1 answer
  • 'Energy' has the potential to:
    6·1 answer
  • If a bearing needs 4. 0 s to solidify enough for impact, how high must the tower be?.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!