Q: Provide yourself an example (not one from your instructor) of how you use a particular command that will help jog your memory in the future when you need that command again. You must provide a little code as well as a written explanation with this one.
A: void getInfo(double &f, double &l)
{
count<<"Enter your first name"<<>
cin>>f;
count<<"Enter your last name"<<>
cin>>l;
}
This code is a function code, it's allow me to separate task into little subsections of code that I then can call them from main. It help me separate the codes into sections which make it easier to work with.
Tuesday, November 27, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment