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
Mandarinka [93]
4 years ago
7

____ 59. Suppose that x and y are int variables, ch is a char variable, and the input is: 4 2 A 12 Choose the values of x, y, an

d ch after the following statement executes: cin >> x >> ch >> y; a. x = 4, ch = 2, y = 12 c. x = 4, ch = ' ', y = 2 b. x = 4, ch = A, y = 12 d. This statement results in input failure
Computers and Technology
2 answers:
Vlada [557]4 years ago
8 0

Answer:

d. This statement results in input failure.

Explanation:

We are taking input of 3 variables only and those are x,ch,and y. cin is a C++ keyword used take input entered by the user onto the screen cin is not a variable.

The input should of type int char int as written in the code. First is x and character variable ch and then the integer variable y and there should be only three inputs.

Gelneren [198K]4 years ago
5 0

Answer:

D

Explanation:

You might be interested in
Define a function dice(n) that returns the sum of a random roll of n 6-sided dice. Example output in photo. Thank you
leonid [27]

Answer:

code (in python) is in the explanation

Explanation:

import random

def dice(n):

   count = 1

   t = list()

   while count <= n:

       i = random.randint(1,6)

       t.append(i)

       count += 1

   print(sum(t))

Hope this helps!

6 0
3 years ago
Write the definition of a method printarray, which has one parameter , an array of int s. the method does not return a value . t
stealth61 [152]
<span>void printArray(int a[ ]) {
</span> int i;   <span>for (i = 0; i &lt; a.length; i++){
</span>  <span>System.out.print(a[i]);
</span> System.out.println();   <span>}
</span> }
6 0
4 years ago
Can someone please give me two (2) thesis statement for this question?
ira [324]

Answer: On a personal note it has changed not a bit, i go to online school so nothing has changed.

Explanation:

3 0
3 years ago
What in the LAN for a small office, some user devices connect to the LAN using a cable, while others connect using wireless tech
dem82 [27]

Answer:

The ethernet protocol IEEE 802.3 is only meant for cable networks.

Explanation:

In this scenario, there are two types of networks, namely;

LAN and WLAN.

A LAN (local area network) is a network within a small area like a  building, i which its workstation are connected using cables. The cabled network instantly use a protocol called Ethernet also known as IEEE 802.3.

WLAN (wireless local area network) is a small area network just like the LAN, but the difference is that its workstation are connected wireless (without cable). wireless networks uses wifi or 802.11a/n/g to connect to the network.

So, the ethernet protocol represents the cabled network, Wifi represents the wireless network.

8 0
3 years ago
The data I collect in Google Forms are all compiled in a spreadsheet for me.<br> False <br> True
Mandarinka [93]
I think it's false. If I'm wrong then sorry.
5 0
4 years ago
Read 2 more answers
Other questions:
  • Which of the following careers is part of the Printing Technology pathway?
    10·1 answer
  • Using the _______ list, you can select the number of photos that will appear on each slide.
    14·1 answer
  • The top pane of the wireshark window, referred to as the __________, contains all of the packets that wireshark has captured, in
    5·1 answer
  • More Loops: All versions of foods.py in this section have avoided using for loops when printing to save space. Choose a version
    13·1 answer
  • Why can a "group by" or "order by" clause be expensive to process? What is the difference between a where and having clause?
    14·1 answer
  • A database is a collection of ________ data.
    15·1 answer
  • Bullet points on a slide should be limited to _____.<br><br> A. 2<br> B. 4<br> C. 8<br> D. 10
    7·1 answer
  • What feature allows you to access previous copies of a document on OneDrive?
    15·2 answers
  • Olivia wants to change some settings in Outlook. What are the steps she will use to get to that function? open Outlook → File →
    7·2 answers
  • You bought a laptop assuming it had application software loaded so you could use it right away, but it did not. What quality con
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!