English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

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).

2006-12-29 19:34:31 · 6 answers · asked by -=OnEaL=- 1 in Computers & Internet Programming & Design

6 answers

Hmmm... sounds like a homework problem... Study hard!

2006-12-29 19:39:56 · answer #1 · answered by BigRez 6 · 1 0

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

}

2006-12-29 19:53:27 · answer #2 · answered by Anonymous · 0 0

no longer anymore, at one time C++ became merely an extension of C. considering the fact that then, C has replaced, and so has C++. in spite of the undeniable fact that that being stated it is commonplace for the comparable software to collect the two C and C++. the technique is the comparable, yet there are in basic terms some adjustments int he libraries which you like the compiler to link to.

2016-11-25 00:27:30 · answer #3 · answered by ? 4 · 0 0

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.

2006-12-29 19:45:07 · answer #4 · answered by Anonymous · 1 0

try c++

2006-12-29 19:51:04 · answer #5 · answered by Blah 2 · 0 0

sorry

2006-12-29 19:39:16 · answer #6 · answered by ? 1 · 0 1

fedest.com, questions and answers