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
Scilla [17]
3 years ago
11

Write code that outputs variable numDays as follows. End with a newline. If input is 3, output is: Days: 3

Computers and Technology
1 answer:
kobusy [5.1K]3 years ago
8 0

Answer:

In C++:

#include<iostream>

using namespace std;

int main(){

int numDays;

cin>>numDays;

cout<<"Days: "<<numDays<<endl;

return 0;

}

Explanation:

This line declares numDays as integer

int numDays;

This line gets user input for numDays

cin>>numDays;

This line prints the required output and ends with a newline

cout<<"Days: "<<numDays<<endl;

You might be interested in
man who is colorblind marries a woman who has normal color vision and is not a carrier of color blindness. If this couple has a
kirill115 [55]

Answer:

Each of their sons has around a 0% chance for being color blind.

they will have normal girls but they will be carriers

Explanation:

Since the man is colour blind and he donates the X- Chromosome that is the carrier to the woman, they will give birth to a daughter who is a carrier but not color blind. If the man donates the Y chromosome, then they will give birth to a normal male child who is not color blind neither is he a carrier

4 0
3 years ago
The optional feature in a business letter is
slamgirl [31]

Answer:

Reference

Explanation:

i don't know how to explain it but that's the answer

5 0
3 years ago
There are types of templates​
guajiro [1.7K]
You didn’t explain your question correctly so I can’t help you
3 0
3 years ago
Write a program C statement to declare and initialize an array named afTest1 type float to store
Valentin [98]

Answer:

#include <stdio.h>

int main()

{

   float afTest1[5] = {90, 30, 25, 45, 55};

   for (int i = 0; i < 5; i++) {

       printf("%f ", afTest1[i]);

   }

   return 0;

}

Explanation:

Initialize the elements of the array as 90, 30, 25, 45, 55

Create a for loop that iterates through the array

Inside the loop, print each element using printf function

6 0
3 years ago
Describe an application where a parallel circuit might work better than a series circuit
Mama L [17]
An application where you would prefer a parallel circuit over series would be a string of Christmas lights. If the light string is wired in parallel, when one bulb burns out, it would not effect the red of the string.
6 0
3 years ago
Read 2 more answers
Other questions:
  • 9. The best way to insert an existing Excel chart into a document is to A. use the Object command. B. click the Insert tab and c
    6·2 answers
  • When working in the middle of a presentation, how do you preview the slide show from the current slide?
    12·1 answer
  • What will be displayed as a result of executing the following code?
    5·1 answer
  • Short Essay on the history of Computer​
    6·2 answers
  • We have three containers whose sizes are 10 pints, 7 pints, and 4 pints, respectively. The 7-pint and 4-pint containers start ou
    14·2 answers
  • 1.) Florida has ____________ roads that are designated as part of the National Highway System.
    12·1 answer
  • The 0-1 knapsack problem is the following. A thief robbing a store finds n items. The ith item is worth vi dollars and weighs wi
    14·1 answer
  • How would you want to change the copyright laws?
    11·1 answer
  • What is a system of access control that allows only limited use of material that has been legally purchased?
    7·1 answer
  • What dictionary operation can you use to remove all the keys within the dictionary-named contacts?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!