Answer:
B. A "while" loop inside of a "for" loop
Explanation:
To enter 5 grade values, a for loop can be used to specify the number of grade values to be entered by the user, in other to ensure the validity of the grade values entered by the user, the while loop will be used inside the for loop such that the inputted values will only be accepted when the user enters a valid grade.
Code structure :
For a in range(0, 5) :
grade = input()
while grade (enter condition)
This is just the code structure and this will work for the problem stated.
The correct answer is letter D, determine how applying information systems will increase her business opportunities.
This is the smartest and the best step that she can take in order for her to increase her profits from her business. When here profits have increased, it is already easy to figure out the next steps on how she can expand her company.
More force because it's the impact
Hey!
------------------------------------------
<h3>Answers:</h3>
Operating System
Web Browser
Word Processor
Device Driver
------------------------------------------
<h3>Explanation:</h3>
Software is a set of data that tells the computer what to do. Each of the answer above tell the computer something specific to do.
The operating system are basic functions that make the computer run smoothly.
The web browser is telling the computer you want to look something up like in internet explorer, firefox, and chrome.
The word processor is a piece of software that tells the computer that you want to format a piece of text like in Microsoft word.
The device driver is a piece of software that controls a connected device like a phone or another computer.
------------------------------------------
Hope This Helped! Good Luck!
Answer:
Explanation:
#include <iostream>
using namespace std;
// Recipe of single portion salad
int main()
{
float Qing[3]={0.0,0.0,0.0};
string ItemName[3]={" "," "," "};
int qty=0;
cout<<"Please enter 3 Ingredients required for Salad and Quantity required for a single serve"<<endl;
for (int i=0;i<3;i++)
{
cout<<"Enter the ingredient number "<<(i+1)<<" :";
cin>>ItemName[i];
cout<<"Qty required for single serve (in Oz) :";
cin>>Qing[i];
}
cout<<"Number of servings required :";
cin>>qty;
cout<<endl<<"Total Quantities required for "<<qty<<" servings"<<endl;
for (int i=0;i<3;i++)
{
cout<<ItemName[i]<<" Qty for "<<qty<<" servings :"<<(Qing[i]*qty)<<" Oz."<<endl;
}
return 0;
}
// You can run this after compiling without any problem.