Thursday, July 30, 2009

Help!!!!Turbo C programming.......?

Create a class named monogram. Its main() function holds three character variable that hold your first, middle and last initials respectively. Create a function to which you will pass the three initials that displays the initials twice - once in the order first, middle, last, and second time, in traditional monogram style (first, last and middle).

Help!!!!Turbo C programming.......?
Hmmm... sounds like a homework problem... Study hard!
Reply:sorry
Reply:Class Monogram





Public:


{


variable one


variable two


variable three


};int varone, vartwo, varthree;








Function Myfunction(monogram varone, vartwo, varthree)


[


/display varone, vartwo, varthree;


/display varone, varthree, vartwo;


}


Main()


{


/function call





}
Reply:First of all you should be aware of the fact that you can't create classes in "C".....its possible only in Object Oriented Languages like C++, Java etc. etc.
Reply:try c++

innia

No comments:

Post a Comment