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
Harlamova29_29 [7]
3 years ago
13

Assume we are testing a variable is_sunny in a while loop. is_sunny = “n”.

Computers and Technology
1 answer:
zubka84 [21]3 years ago
6 0

Answer:

while(is_sunny=="n")

Explanation:

The loop keeps repeating itself until a certain condition is met.

Here while loop keeps executing until value of is_sunny is not equal to 'n'

When the value of is_sunny is not equal to n then the loop stops.

So lets explain this logic with a chunk of code:

#include <iostream> //to use input output functions

using namespace std; //to identify objects like cin cout

int main() {  //start of main function

  string is_sunny = "n"; //value of is_sunny is set to n

  cout<<"Enter value of is_sunny: "; // prompts user to enter value of is_sunny

  cin>>is_sunny; // reads value of is_sunny from user

  while(is_sunny=="n") // keeps iterating until value of is_sunny is not equal to n

  {   cout<<"keep executing until is_sunny is not equal to n"<<endl;//display this message with each iteration

      cout<<"Enter value of is_sunny: "; //keeps prompting to enter is_sunny

      cin>>is_sunny;   } } //keeps reading value of is_sunny from user

Now if the user keeps entering "n" as value of is_sunny then the loop keeps repeating. When the user enters any string other than n then the loop breaks. The output of the program is attached.

You might be interested in
What service converts ip addresses into more recognizable alphanumeric names??
tresset_1 [31]
I think is DNS..........
6 0
4 years ago
Low-level formatting ____. Group of answer choices is different from physical formatting is usually performed by the purchaser o
Drupady [299]

Low-Level formatting is usually performed by the purchaser of the disk.

<h3>What is low-level formatting?</h3>

Low-Level formatting can be defined as is performed at the factory which electronically creates the hard drive tracks and sectors and tests for bad spots on a disk surface.

Low-level formatting is usually performed by the purchaser of the disk device.

Therefore, B is the correct option.

Learn more about Low-level formatting here:

brainly.com/question/13797778

#SPJ1

3 0
2 years ago
Which of the following is benefit of information communication technology?
igor_vitrenko [27]

Answer:

C. Cost reduction

Explanation:

ICT covers all the products that can store, retrieve, transmit or receive and manipulate the information via the electronic medium in a binary or digital mode. As an example, we can consider the Personal computer, digital television, robots or email as well as the digital communication technologies that allow the organizations and people to talk and share the information between them in a digital manner. And this is cost-effective, there is no employee benefit, increased use of postal mail or less technology. The only advantage is cost reduction. And hence C, Cost reduction is the right answer.

5 0
3 years ago
Read 2 more answers
Differentiate between DVD and floppy disk​
Usimov [2.4K]

Answer:

DVD and Floppy disk

Explanation:

DVD is CD. Its use for move, song and many things.NoW day people used pen drive.It is gone to Lost

Floppy disk is lost from world.It cannot save now day one photo. And don't like it

4 0
3 years ago
Read 2 more answers
Royalty free images are those in which the price of the license is determined by the use of the image.
shusha [124]
No they are images that are free to use as long as your not using them to make profit and you give credit to the person who owns the image.
5 0
3 years ago
Read 2 more answers
Other questions:
  • 1.6.6 Night out for codehs
    6·1 answer
  • The flagging of an uncommon last name as a spelling error can be stopped by opening the shortcut menu on the first occurrence of
    7·1 answer
  • Write a program that asks the user to input
    11·1 answer
  • Tweaking existing technology in a new way is usually called _____. leveraged creativity state-of-the-art breakthrough applicatio
    5·1 answer
  • What behaviors are most common in a successful entrepreneurship
    9·1 answer
  • Why do people on Brainly verify answers that are wrong. I got 90% and 80% percent on my tests because of it
    6·2 answers
  • When is 1600 plus 25 and 1700 minus 35 the same thing?​
    10·1 answer
  • Write a program using for loop to find the cube of numbers from 50-100 <br> FASTT
    11·1 answer
  • Which of the following expressions is not equivalent to X ' ?
    14·1 answer
  • (e) The entries in each column of the array A are sorted into strictly increasing order.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!