Answer:
7
Explanation:
We already have the functions that tells us how much to add. If you add all this, you will get 12. HOWEVER because cantaloupe is in the list, the computer does not count that. So if we add that again without 5(how much the cantaloupe costs), we get 7.
<em>Missing Part:</em>
<em>Assume that the following variables have been properly declared and initialized: an int variable named selection, where 1 represents "beef", 2 represents "chicken", 3 represents "pasta", and all other values represent "fish"</em>
Answer:
if selection == 1:
print("beef")
elif selection == 2:
print("chicken")
elif selection ==3:
print("pasta")
else:
print("fish")
Explanation:
I've completer the question and the questin will be answered in python.
This checks if selection is 1. If yes, it prints the beef
<em>if selection == 1:</em>
<em> print("beef")</em>
This checks if selection is 2. If yes, it prints the chicken
<em>elif selection == 2:</em>
<em> print("chicken")</em>
This checks if selection is 3. If yes, it prints the pasta
elif selection ==3:
print("pasta")
Any other input is considered java/
else:
print("fish")
Answer:
Answer D is correct :
Explanation:
Configure an autoresponder email to send as a completion action when the \Request a Demo\ form has been submitted.
<span>The cloud is a place where you can access apps and services, and where your data can be stored securely.
</span><span>The cloud computing appeared at the end of the 1990s.
</span>Salesforce.com, Inc is a cl<span>oud application that offers a variety of cloud services, including automation and crm, cloud application development, and web site marketing</span>It is an American cloud computing<span> company headquartered in San Francisco.</span>
Answer:
#include <iostream>
using namespace std;
int main()
{
int day;
cout<<"Enter a number for the day of the week"<<endl;
cin>> day;
switch (day) {
case 1: cout << "Monday"<< endl; break;
case 2: cout << "Tuesday" << endl; break;
case 3: cout << "Wednesday" << endl; break;
case 4: cout << "Thursday" << endl; break;
case 5: cout << "Friday" << endl; break;
case 6: cout << "Saturday" << endl; break;
case 7: cout << "Sunday" << endl; break;
default: cout<<"Error, You entered an invalid day"<<endl;
}
return 0;
}
Explanation:
The program is written using a switch statement in C++ programming language. we start off by creating a variable day of type integer, which is received using the cin statement. We then use switch statement to test the value using the conditions stated in the question. We use the default statement which acts like an else statement to handle the an invalid situation