subject

1.      Convert the below switch program to if statement? #include using namespace std; int main() {   int day = 4;   switch (day) {   case 1:     cout << "Monday";     break;   case 2:     cout << "Tuesday";     break;   case 3:     cout << "Wednesday";     break;   case 4:     cout << "Thursday";     break;   case 5:     cout << "Friday";     break;   case 6:     cout << "Saturday";    break;   case 7:     cout << "Sunday";     break;   }   return 0;                                }​

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:00
During physical science class ben and jerry connected three identical lightbulbs in parallel to a battery where happens when ben removes one of the lightbulbs from it’s socket
Answers: 2
question
Computers and Technology, 22.06.2019 23:30
In my email i got a message it says a quick message and in message details on who its from its says nicole and under nicole is [email protected] -
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Design a class tictactoe that: holds the following information about the game: two-dimensional array (3 by 3), and winner. add additional variables as needed. includes the functions to perform the various operations on objects. for example, function to print the board, getting the move, checking if move is valid, determining if there is a winner after each move. add additional operations as needed. includes constructor(s). write the functions of the class, and write a program that uses the class. the program should declare an object of type tictactoe. the program will create the board and store it in the array. the program will allow two players to play the tic-tac-toe game. after every valid move update the array, check if there is a winner. if there is no winner and no tie, then print the board again to continue.
Answers: 2
question
Computers and Technology, 23.06.2019 21:40
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings. for each match, add one point to user_score. upon a mismatch, end the game. sample output with inputs: 'rrgbryybgy' 'rrgbbrybgy'
Answers: 3
You know the right answer?
1.      Convert the below switch program to if statement? #include using namespace std; int main() {...
Questions
question
Mathematics, 16.10.2020 06:01
question
English, 16.10.2020 06:01
Questions on the website: 13722362