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
Naily [24]
3 years ago
12

The admission booth at the show requires each person to enter their age. Then the following program executes: if 22 > age &gt

; 14: print (“Student price is $8.”) When age = 16, what action would the program execute?
print “16”
print “Student price is $8.”
print “14”
print “Student price is $14.”
Computers and Technology
1 answer:
Gala2k [10]3 years ago
5 0

Answer:

print “Student price is $8.”

Explanation:

16 is >14 and 16<22

You might be interested in
"HotelExp” is a 3-D range name applied to the workbook shown.
Ganezh [65]

Answer:

all cells in the B column of any worksheet in this workbook

Explanation:

It seems each worksheet covers total expenses for each month, and hence workbook must have 12 such with one month for each worksheet. Also, the 3D range is a special option in Excel to reference all cells or a selected group of cells for all the worksheets. However, it should be all B cells as B2: B4 apart from this, others in B column also has expenses. And hence, the above option is the correct one.

3 0
3 years ago
Write a program that reads the contents of a file named text.txt and determines the following: The number of uppercase letters i
murzikaleks [220]

Answer:

Explanation:

//Cpp program to count Uppercase, Lowercase, Digits count from file

#include<iostream>

#include<fstream>

using namespace std;

int main()

{

  //ifstream For reading file purpose only

ifstream file("text.txt");

 

  //cheks whether given file is present or not

  if(!file){

      cout<<"File not Found";

      return 0;

  }

  //variables for all three counts and character in file

char character;

int uppercaseCount=0, lowercaseCount=0, digitsCount=0;

  //loop for reading and checkile file character by character

while(file){

      //get a single character

file.get(character);

 

      //checks uppercase character

if((character >= 'A') && (character <= 'Z'))

uppercaseCount++;

     

      //checks lowercase character

 else if((character >= 'a') && (character <= 'z'))

lowercaseCount++;

     //checks lowercase character

      else if((character >= '0') && (character <= '9'))

      digitsCount++;

}

cout<<"\nUppercase characters: "<<uppercaseCount;

cout<<"\nLowercase characters: "<<lowercaseCount;

cout<<"\nDigits: "<<digitsCount;

return 0;

}

/*

content of File text.txt

C++

10.15: Character Analysis Write a program that reads the contents of a file named text.txt and determines the following: The number of uppercase letters in the file The number of lowercase letters in the file The number of digits in the file Prompts And Output Labels. There are no prompts-- nothing is read from standard in, just from the file text.txt. Each of the numbers calculated is displayed on a separate line on standard output, preceded by the following prompts (respectively): "Uppercase characters: ", "Lowercase characters: ", "Digits: ". Input Validation. None.

Output :-

Uppercase characters: 19

Lowercase characters: 434

Digits: 4

*/

3 0
3 years ago
Operators allow you to compare values then make decisions (Scratch Coding)
patriot [66]

Explanation:

ok thnka

4 0
2 years ago
Read 2 more answers
Need help!! Write an interactive program that reads lines of input from the user and converts each line into "Pig Latin." Pig La
zepelin [54]

<span>user input a elit Interactive legentium lineae ad lineam convertit et "Sus
</span>
6 0
3 years ago
What are the two negative impacts of computer technology to the society?​
Sunny_sXe [5.5K]

One negative is that people are getting very impatient. This is because people are getting used to things instantly coming up onto their screens. Another negative is that people are being manipulated more easily. Nowadays anyone can be an expert if they sound smart enough. Then they can spread their lies quickly to millions of people.

6 0
3 years ago
Other questions:
  • Software ________ defines the permissions, rights, and restrictions assigned to the person who purchases a copy of software.
    15·1 answer
  • Devices such as monitors and printers that are connected to a computer are called ________.
    12·1 answer
  • What is the amount of money you still owe to their credit card company called?
    12·1 answer
  • Complete the paragraph to explain how Angelina can notify readers that her report is just a draft.
    6·1 answer
  • Which of the following statements is/are true? (Points : 5) A. A default constructor is automatically created for you if you do
    12·1 answer
  • When an important file is saved on two different computers, what is the name of the file that is housed on the second computer?
    11·1 answer
  • PLEASE HELP there are TWO ANSWERS
    6·1 answer
  • Select the correct answer from the drop-down menu.
    15·2 answers
  • ¿Cuales son los dos estados de una computadora y que significa cada uno?
    8·1 answer
  • From where do we get information or knowledge? Explain.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!