Answer:
// This program is written in C++ programming language
// Comments are used for explanatory purpose
// Program starts here
#include<iostream>
using namespace std;
int main ()
{
// Declare and initialize variables
float connecfee = 1.99;
float first3 = 2.00;
float addmin = 0.45; float cost;
int minutes;
// Prompt user for minutes talked
cout<<"Enter Number of Minutes: ";
cin>>minutes;
// Calculate cost;
if(minutes < 1)
{
cout<<"Enter a number greater than 0";
}
else if(minutes <= 3)
{
// Calculating cost for minutes less than or equal to 3
cost = connecfee + first3 * minutes;
cout<<"Talk time of "<<minutes<<" minutes costs "<<cost;
}
else
{
cost = connecfee + first3 * 3 + addmin * (minutes - 3);
cout<<"Talk time of "<<minutes<<" minutes costs "<<cost;
}
return 0;
}
// End of Program
Answer:
2
Explanation:
The python operator % will grab the remainder of a division expression. 17 / 5 is around 3 and the remainder is 2. Thus, proving the answer is 2.
hope this helped :D
Answer:
True
Explanation:
In this pseudocode the programmer defines 3 variables, x=1, y=2 and z=3, then he creates a conditional that states that if any of the previously defined variables has the value of 1 then a True will be displayed, on the other hand, if none of the variables has the value of 1 then a False will be displayed. In this case x=1, so it will display a True.
Collaborative software or groupware<span> is a </span> software<span> designed to help people in a gruop or a common task to achieve their goals.</span>