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
adelina 88 [10]
4 years ago
10

What will be displayed after the following statements execute? int funny = 7, serious = 15; funny = serious % 2; if (funny != 1)

{ funny = 0; serious = 0; } else if (funny == 2) { funny = 10; serious = 10; } else { funny = 1; serious = 1; } cout << funny << " " << serious << endl;
Computers and Technology
2 answers:
Reika [66]4 years ago
8 0

Answer:

1 1

Explanation:

First we have funny = 7 and serious = 15 .Then after that remainder when serious is divided by 2 is stored in funny that is 1.if condition will be false because funny is equal to 1.else if condition will also be false because it is not 2.So else will be executed and funny =1 and serious =1.

Output=1 1

alina1380 [7]4 years ago
6 0

Answer:

11

Explanation:

your welcome!

You might be interested in
Most nosql data stores were created to address problems associated with storing large amounts of distributed data in __________.
finlep [7]
NoSQL is primarily designed for supporting the decision making systems. Most NoSQL data stores were created to address problems associated with storing large amounts of distributed data in relational database management systems(RDBMS).
RDBMS is system used for the management of the database.D<span>ata is stored in the form of related tables.</span>
3 0
4 years ago
What are two best practices for discovering whether a message you’ve scheduled with Hootsuite has failed to send?
never [62]
I think:
<span>  C)  Regularly check Publisher's 'Rejected' Tab  <span>D)  Enable email notifications for failed messages under Preferences</span></span>

But I am not sure.
4 0
3 years ago
Read 2 more answers
Passing by reference is used if a parameter's data flow is A. one-way, into the function. B. one-way, out of the function. C. tw
tiny-mole [99]

Passing by reference is used if a parameter's data flow is two-way, into and out of the function.

C. two-way, into and out of the function.

<u>Explanation:</u>

If a function in programming language passing the parameter by reference means it only sending the address of parameter to a function. If any value is changed on reference parameter it will changed original value.

If parameter passed by value means it is one way, where value been send to the function.

Whereas by reference means it two-way, in and out of the function. Mostly it called as pointer.

It is available in c , c++, where declare of variable “*” or “&” address off.

4 0
4 years ago
If you want to learn more about a command, point to its button and wait for the ____ to appear.
Pani-rosa [81]

Answer:

The answer to this question is "Screen Tip".

Explanation:

In the operating system, there are many software. In this software, there is an option of the screen tip. screen tip is a small window that displays detailed text.

For example :  

If we start a paint software and we point the mouse on the pencil tool it display the detail of that tool like "Draw free-from line with a selected line width".

7 0
3 years ago
If you don’t have a paper copy of the FAFSA form, how else can you fill it out?
Ronch [10]
Go on your school computer, and find a copy of the form. Then print it from the school printer.
3 0
3 years ago
Read 2 more answers
Other questions:
  • Gross Domestic Product is equivalent to which of the following?
    13·1 answer
  • Write a program which selects two integer numbers randomly, adds the numbers and asks the user to enter the answer and then chec
    13·1 answer
  • You are going to interview a small business owner about creating a database for his sandwich shop and bakery. Make a list of que
    10·1 answer
  • How do I upload a picture in python 3
    7·1 answer
  • a paragraph is a segment of text with the same format that begins when you press the enter key and ends when you press enter key
    6·2 answers
  • What happens when you run a program in Python? ​
    12·2 answers
  • Why can i go to discord if my school blocks it-
    9·1 answer
  • What does it mean that the right mouse button is context-sensitive?
    15·1 answer
  • An anchor tag can be coded using which two attributes?
    7·1 answer
  • Who is known as Mecile Man of India?​
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!