CS101 ASSIGNMENT 02 SOLUTION
#include <iostream>
#include <cstdlib>
using namespace std;
int main(){
char Car_Name[50], Car_Vendor[50], Car_Owner_ID[50];
int Car_Model,Car_Horse_Power,Car_Price;
cout<<"Enter Car Name:";
cin>>Car_Name;
cout<<"Enter Car Modle:";
cin>>Car_Modle;
cout<<"Enter Car Vendor:";
cin>>Car_Vendor
cout<<"Enter Car Horse Power:";
cin>>Car_Horse_power;
cout"Enter Car Price:"
cin>>Car_Price;
cout<<"Enter Car Owner ID:";
cin>>Car_Owner_ID;
cout<<"values are stored in car Variables.";
cout<<"\n\n";
cout<< "The stored vehicle information is:"<<endl;
cout<< "Name :"<<Car_Name<<endl;
cout<<Model:" <<Car_Model<<endl;
cout<< "Vendor :"<<Car_Vendor<<endl;
cout<< "Engine Power :"<<Car_Horse_Power<<endl;
cout<< "Price:" <<Car_Price<<endl;
cout<< "Owner ID :" <<Car_Owner_ID<<endl;
Take the output by running the program
CS101 ASSIGNMENT 02 SOLUTION by Ayna's Math Treasure

0 Comments