Answer:
Program
#include <iostream>
using namespace std;
int main()
{
int Year, weight; //initializing the variables
cout<<"Enter the automobile's Year : ";
cin>>Year; //Reads the input from the user
cout<<"Enter the weight : ";
cin>>weight;
if(Year<=1990)
{
if(weight<2700)
{
cout<<"weight class is : "<<1<<endl;;
cout<<"Registration Fee is : "<<26.50<<endl;;
}
if(weight>=2700 && weight<=3800)
{
cout<<"weight class is : "<<2<<endl;;
cout<<"Registration Fee is : "<<35.50<<endl;;
}
if(weight>3800)
{
cout<<"weight class is : "<<3<<endl;;
cout<<"Registration Fee is : "<<56.50<<endl;;
}
}
if(Year>=1991 && Year<=1999)
{
if(weight<2700)
{
cout<<"weight class is : "<<4<<endl;;
cout<<"Registration Fee is : "<<35.00<<endl;;
}
if(weight>=2700 && weight<=3800)
{
cout<<"weight class is : "<<5<<endl;;
cout<<"Registration Fee is : "<<45.50<<endl;;
}
if(weight>3800)
{
cout<<"weight class is : "<<6<<endl;;
cout<<"Registration Fee is : "<<62.50<<endl;;
}
}
if(Year>=2000)
{
if(weight<3500)
{
cout<<"weight class is : "<<7<<endl;;
cout<<"Registration Fee is : "<<49.50<<endl;;
}
if(weight>=3500)
{
cout<<"weight class is : "<<8<<endl;;
cout<<"Registration Fee is : "<<62.50<<endl;;
}
}
}
Output:



Cdiculated. Program 4: Many states base yearly car registration fees on an automobile's model year and...