Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- class estoque {
- int arroz [3];
- int feijao [6];
- int banana [8];
- int tomate [4];
- public:
- void cad ();
- };
- void estoque: cad (){
- printf ("bem vindo ao estoque");
- scanf ("%d", & estoque);
- }
- int main (void){
- e[0].cad ();
- system ("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement