i am going to share simple program in c language . i hope you learn it #include<stdio.h> main() { int a,b; for(a=1;a<=5;a++) { for(b=1;b<=a;b++) { printf("%d",b); } printf("\n"); } return 0; } out put of this program is 1 12 123 1234 12345 if we change ,i mean if we write a in printf statement out will be diffrent. #include<stdio.h> main() { int a,b; for(a=1;a<=5;a++) { for(b=1;b<=a;b++) { printf("%d",a); } printf("\n"); } return 0; } out is : 1 22 333 4444 55555 i hope you learn it . thanks for watching stay tuned:
author | hanitasteemer |
---|---|
permlink | learn |
category | coding |
json_metadata | {"tags":["coding","with","me","include"],"app":"steemit/0.1","format":"markdown"} |
created | 2018-01-02 13:13:39 |
last_update | 2018-01-02 13:13:39 |
depth | 0 |
children | 2 |
last_payout | 2018-01-09 13:13:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 10.379 HBD |
curator_payout_value | 2.546 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 561 |
author_reputation | 7,847,092,471,000 |
root_title | learn |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 26,556,645 |
net_rshares | 1,080,472,374,111 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
zeonn | 0 | 418,104,800 | 100% | ||
appreciator | 0 | 408,572,552,776 | 0.23% | ||
mantrow | 0 | 406,192,476 | 100% | ||
kurly | 0 | 402,733,300 | 100% | ||
karid | 0 | 405,807,600 | 100% | ||
xygada | 0 | 403,034,600 | 100% | ||
rushnitres | 0 | 405,006,004 | 100% | ||
teltu | 0 | 390,728,200 | 100% | ||
upme | 0 | 600,016,986,625 | 0.23% | ||
googus | 0 | 381,498,400 | 100% | ||
merlar | 0 | 393,510,400 | 100% | ||
learnandgrow | 0 | 20,950,892,686 | 100% | ||
wajahatsardar | 0 | 5,802,791,486 | 20% | ||
iwant | 0 | 878,430,293 | 100% | ||
hanitasteemer | 0 | 39,770,952,403 | 100% | ||
humaima | 0 | 479,641,662 | 100% | ||
elisreevyur | 0 | 393,510,400 | 100% |
<p>This post has received gratitude of 0.24 % from @appreciator thanks to: @hanitasteemer.</p>
author | appreciator |
---|---|
permlink | re-hanitasteemer-learn-20180107t210613909z |
category | coding |
json_metadata | {"tags":["coding"],"app":"drotto/0.0.3rc1"} |
created | 2018-01-07 21:06:24 |
last_update | 2018-01-07 21:06:24 |
depth | 1 |
children | 0 |
last_payout | 2018-01-14 21:06:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 95 |
author_reputation | 55,801,543,512,306 |
root_title | learn |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 27,843,953 |
net_rshares | 0 |
You got a 0.23% upvote from @upme requested by: @hanitasteemer. <br> Send at least 1.5 SBD to @upme with a post link in the memo field to receive upvote next round. <br> To support our activity, please vote for my master @suggeelson, as a [STEEM Witness](https://steemit.com/~witnesses)
author | upme |
---|---|
permlink | re-hanitasteemer-learn-20180107t193815705z |
category | coding |
json_metadata | {"app":"postpromoter/1.6.0"} |
created | 2018-01-07 19:38:15 |
last_update | 2018-01-07 19:38:15 |
depth | 1 |
children | 0 |
last_payout | 2018-01-14 19:38:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 286 |
author_reputation | 584,696,346,293 |
root_title | learn |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 27,828,895 |
net_rshares | 0 |