CPU is the Answer to this question.
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.
Answer:
The correct answer is "Program".
Explanation:
Program is the collection of statement or instruction which is developed for creating any software or any purpose. The program is implemented or executed by a computer to perform a particular task.The particular programmer always writes an instruction to develop a program.
Program are always organized for the common purpose, that specifies the computer what tasks to perform as well as how to perform that particular task for example if programmer develops a program of calculator then it should be only used for the calculation purpose.