subject

Write the Output for the following int x=2;
switch(x)
{
case 1:
{
System. out. println(“hai”);
}
case 2:
{
System. out. println(“hello”);
}
case 3:
{
System. out. println(“sorry”);
break;
}
default:
{
System. out. println(“glad”);
}}

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
Aisha has finished working on a word processing document that contains 15 pages. she has added some special elements in the first three pages, page 9 and 10, and page 15 from the document. she wants to print only these pages to see how they look. which option is the correct way to represent (in the print dialog box) the pages that aisha wants to print
Answers: 3
question
Computers and Technology, 22.06.2019 23:30
What is the digital revolution and how did it change society? what are the benefits of digital media?
Answers: 1
question
Computers and Technology, 23.06.2019 00:10
Write a function so that the main0 code below can be replaced by the simpler code that calls function mphandminutes tomiles0. original main0 int main) l double milesperhour-70.0; double minutestraveled = 100.0; double hourstraveled; double milestraveled; hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; cout < "miles" 2 using namespace std; 4 /* your solution goes here/ 6 int maino 1 test passed 7 double milesperhour 70.0 all tests passed 8 double minutestraveled 100.0; 10 cout < < "miles: " < < mphandminutestomiles(milesper-hour, minutestraveled) < < endl; 12 return 0; 13
Answers: 1
question
Computers and Technology, 23.06.2019 13:00
Donnie does not have powerpoint. which method would be best for elana to save and share her presentation as is? a pdf a doc an rtf a ppt
Answers: 3
You know the right answer?
Write the Output for the following int x=2;
switch(x)
{
case 1:
{
Sys...
Questions
question
Mathematics, 13.09.2020 03:01
question
Mathematics, 13.09.2020 03:01
question
Mathematics, 13.09.2020 03:01
question
Mathematics, 13.09.2020 03:01
question
Mathematics, 13.09.2020 03:01
question
Physics, 13.09.2020 03:01
question
Mathematics, 13.09.2020 03:01
question
Mathematics, 13.09.2020 03:01
question
Mathematics, 13.09.2020 03:01
question
Mathematics, 13.09.2020 03:01
question
Mathematics, 13.09.2020 03:01
question
Mathematics, 13.09.2020 03:01
question
English, 13.09.2020 03:01
question
Mathematics, 13.09.2020 03:01
question
Mathematics, 13.09.2020 03:01
question
Mathematics, 13.09.2020 03:01
question
Mathematics, 13.09.2020 03:01
question
Mathematics, 13.09.2020 03:01
question
Mathematics, 13.09.2020 03:01
question
Mathematics, 13.09.2020 03:01