<u>Software modelling:</u>
Software modelling can be defined as the ways of expressing the design of the software.
Software modelling tools have great significance in developing and representing the design of the software.
The software modelling tools can be used to estimate the work needed to done per task by determining the work to be done on each task that constitutes the build of the software and then the individual amount of work done per task can be added for all the tasks and the total amount of work to be done is obtained as a result.
Void sort3(int& a, int& b, int& c)
{
if (a > b)
{
std::swap(a, b);
}
if (b > c)
{
std::swap(b, c);
}
if (a > b)
{
std::swap(a, b);
}
}
Answer:
If your cpu usage levels are greater than 90% during most of your work session, a faster CPU can greatly increase your computer's performance
Explanation:
CPU usage level is a good indicator for the computer performance.
Generally, computers use a low portion of their CPU power. When you open an application or listen to music on your computer, CPU usage level increases. After CPU intensive process ends, the CPU usage should drop to lower level again.
But if the CPU usage level is high all the time you use the computer, then it means that either there is a problem causing continuous CPU usage or your CPU is not fast enough. In the case of latter, you'd better to have a faster CPU.
Answer:
Desired C++ Program with proper comment is given below
Explanation:
#include<iostream>
using namespace std;
//main function
int main()
{
int totalMiles = 0;
int remainingMiles = 0;
double amt = 0;
//taking input from user regarind total miles
cout<<"Enter the total miles: "<<endl;
cin>>totalMiles;
//if-else condition to do the calculation
if(totalMiles<=100)
{
amt = totalMiles*.25;
}
else
{
remainingMiles = totalMiles - 100;
amt = 100*.25 + remainingMiles*.15;
}
cout<<"The total amount is: "<<amt<<endl;
}
Answer:
A computer does not have brain of its own