Answer:
#include <iostream>
using namespace std;
int main() {
int age,time;
float price;
cout<<"Enter age:";
cin>>age;
cout<<"Enter time(in 24 hour clock for noon 1200):";
cin>>time;
if(age>13){
if(time<1700){
price=5;
}else{
price=8;
}
}else{
if(time<1700){
price=2;
}else{
price=4;
}
}
cout<<"Price: $"<<price<<endl;
}
Explanation:
Okay, here are the steps to be taken in order to be able to Write a program that determines the price of a movie ticket as given in details in the question above. Therefore, checked the steps below;
==> Input the age and the time.
==> If the age is not greater than 13, input the time(that is <1700) and follow it by imputing the price.
And if the age is greater than 13, you will also need to input the price. Just as below;
#include <iostream>
using namespace std;
int main() {
int age,time;
float price;
cout<<"Enter age:";
cin>>age;
cout<<"Enter time(in 24 hour clock for noon 1200):";
cin>>time;
if(age>13){
if(time<1700){
price=5;
}else{
price=8;
}
}else{
if(time<1700){
price=2;
}else{
price=4;
}
}
cout<<"Price: $"<<price<<endl;
}
Answer:
the information processing cycle
Explanation:
Answer:
Resource Polling is the correct answer to the given question .
Explanation:
The Resource pooling is used in cloud computing frameworks that describe a situation where companies offer temporary and flexible resources to different clients .In the resource polling the programs can be changed to fit the needs of each client without making any adjustments visible to the client.
The main function of resource pooling that it grants a service provider the opportunity to dynamically allocate common physical resources to different clients based on the utilization criteria of each client.
Insert - Header - choose header of your choice. Page numbers are below the Header icon