A is your answer.............
Answer:
see explaination
Explanation:
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
double temp1,temp2,inc,cel;
int i=1;
while(i==1)
{
i=0;
cin>>temp1>>temp2>>inc;
if(temp2<temp1||inc<=0)
{
i=1;
cout<<"Starting temperature must be <= ending temperature and increment must be >0.0\n";
}
}
cout<<endl;
cout<<setw(15)<<"Fahrenheit"<<setw(15)<<"Celsius";
while(temp1<=temp2)
{
cel=(temp1-32)/1.8;
cout<<endl;
cout<<fixed<<setprecision(3)<<setw(15)<<temp1<<setw(15)<<cel;
temp1+=inc;
}
}
Please kindly check attachment for output.
Answer:
something specific a person wants to achieve m8
Explanation:
Answer:
number = int(input("Enter number: "))
if (number % 4):
print("{} is not divisible by 4".format(number))
else:
print("{} is divisible by 4".format(number))
Explanation:
If the %4 operation returns a non-zero number, there is a remainder and thus the number is not divisable by 4.
There are six basic functions of IT.
1. Capture: Compiling detailed records of activities.
2. Processing: Converting, analyzing, computing and synthesizing all forms of data and information.
3. Generation: Organizing information into a useful form.
4. Storage: Retaining information for further use.
5. Retrieval: Locating and copying stored data or information for further processing or for transmission to another user.
6. Transmission: Distributing information over a communication network.