Do I have to pick a word that would make sense or ?
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.
A solid-state drive<span> (SSD) is essentially a flash-based replacement for an internal hard drive.
</span>
The SSD uses integrated circuit assemblies as memory to store data persistently.
SSD is chosen over HDD (Hard Disk Drive) when performance and fast bootup are more important than money.
Answer:
def replace_punctuation(input_str,exclamationCount =0,semicolonCount=0):
result=''
for i in input_str:
if i=='!':
i='.'
exclamationCount+=1
elif i==';':
i=','
semicolonCount+=1
result+=i
print('Punctuation replaced')
#displaying replaced values counts
print('exclamationCount:',exclamationCount)
print('semicolonCount:',semicolonCount)
return result
Explanation: