#include <iostream>
using namespace std;
struct sterling{
  int pounds, siblings, pence;
  Â
};
sterling getValues(sterling s){
  cout<<"\nEnter pounds: ";
  cin>>s.pounds;
  cout<<"\nEnter siblings: ";
  cin>>s.siblings;
  cout<<"\nEnter pence: ";
  cin>>s.pence;
  Â
  return s;
}
string addStrings(string s1,string s2){
  return (s1+s2);
}
double convertPound(sterling c){
  double pounds2=c.pounds;
  return pounds2;
}
int main()
{
  sterling p;
  getValues(p);
  addStrings("car","book");
  convertPound(p);
  return 0;
}
Comments
Leave a comment