C++ Programming in code blocks. item pre-program ...check out

in #programming7 years ago (edited)

HEY STEEMIT.

Here is an item program.let me tell you what it does, down.

PROGRAM BODY:

#include

using namespace std;

int main (){

int *pointer= 0;

cout<<"how many items you want"<

int itemsno;

cin>>itemsno;

pointer=new int [itemsno];

int nitem;

for(int no_s=0;no_s

    cout<<"enter the item no "<

    cin>>nitem;

    *(pointer+no_s)=nitem;

}

for(int no=0;no

    cout<<"item no "<<*(pointer+no)<

}

delete pointer;

}

WORKING OF PROGRAM:

this program is that will tell how many items you want and what kinda items you want to buy when you go market it will help you in a way that you will remember that what item you need to buy at the time and did you buy all the items you had in your list.

AFTER LITTLE MODIFICATIONS ....LOLX

EXTRA:

i am using CodeBlocks For programming in C++.

or I say I used to.

let me give you a proof it does work.

PROOF:

C++ IS ONE OF BEST LANGUAGES FOR PROGRAMMING.

ANY one wanna learn C++ programming .comment in comment section.

 I hope guys you liked it. 

 follow me @learnandgrow   

Sort:  

I loved making this ,..

The @OriginalWorks bot has determined this post by @learnandgrow to be original material and upvoted(1.5%) it!

ezgif.com-resize.gif

To call @OriginalWorks, simply reply to any post with @originalworks or !originalworks in your message!

@learnandgrow, you just received an upvote powered by smartsteem. Our goal is to support quality posts and authors on steem.

Everyone is invited to be a part of and to join the smartsteem community: https://smartsteem.com

Coin Marketplace

STEEM 0.20
TRX 0.25
JST 0.038
BTC 96601.54
ETH 3445.82
USDT 1.00
SBD 3.09