/
test2.json
122 lines (122 loc) · 7.12 KB
/
test2.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[
{
"kind": "Listing",
"data": {
"modhash": "0kb2e7sz234641cd6b6e25e7da69cff16c71c29ad69ab16c14",
"dist": 1,
"children": [
{
"kind": "t3",
"data": {
"approved_at_utc": null,
"subreddit": "C_Programming",
"selftext": "So I\u2019m doing this assignment for my Intro to C class. My professor doesn\u2019t really teach anything and just links us to videos and so it\u2019s causing me to have a lot of bumps in the road on my journey to learn this stuff.\n\nThis (pastebin.com/rM22z3hs) is my program. \n\nThis (pastebin.com/tdwUZGgs) is the original prompt.\n\nWhen I run my program it seems all is operating fine in terms of getting the loop to work, but the outputs do not match the sample run that was provided to me, it seems as though it isn\u2019t calculating the amount the roommate owes accurately?\n\nCould anyone explain to me what I\u2019m doing wrong so that I may learn from my mistakes? This self-teaching stuff is hard.\n\nEDIT: And apparently I can\u2019t even format a reddit post properly, what a day.",
"user_reports": [],
"saved": false,
"mod_reason_title": null,
"gilded": 0,
"clicked": false,
"title": "BEGINNER CODER: Can\u2019t Figure Out This While Loop",
"link_flair_richtext": [],
"subreddit_name_prefixed": "r/C_Programming",
"hidden": false,
"pwls": 6,
"link_flair_css_class": null,
"downs": 0,
"thumbnail_height": null,
"parent_whitelist_status": "all_ads",
"hide_score": false,
"name": "t3_gtn4xw",
"quarantine": false,
"link_flair_text_color": "dark",
"upvote_ratio": 0.78,
"author_flair_background_color": null,
"subreddit_type": "public",
"ups": 5,
"total_awards_received": 0,
"media_embed": {},
"thumbnail_width": null,
"author_flair_template_id": null,
"is_original_content": false,
"author_fullname": "t2_556pvqcm",
"secure_media": null,
"is_reddit_media_domain": false,
"is_meta": false,
"category": null,
"secure_media_embed": {},
"link_flair_text": null,
"can_mod_post": false,
"num_duplicates": 0,
"approved_by": null,
"author_premium": false,
"thumbnail": "self",
"edited": false,
"author_flair_css_class": null,
"author_flair_richtext": [],
"gildings": {},
"content_categories": null,
"is_self": true,
"mod_note": null,
"created": 1590906024.0,
"link_flair_type": "text",
"wls": 6,
"removed_by_category": null,
"banned_by": null,
"author_flair_type": "text",
"domain": "self.C_Programming",
"allow_live_comments": false,
"selftext_html": "<!-- SC_OFF --><div class=\"md\"><p>So I\u2019m doing this assignment for my Intro to C class. My professor doesn\u2019t really teach anything and just links us to videos and so it\u2019s causing me to have a lot of bumps in the road on my journey to learn this stuff.</p>\n\n<p>This (pastebin.com/rM22z3hs) is my program. </p>\n\n<p>This (pastebin.com/tdwUZGgs) is the original prompt.</p>\n\n<p>When I run my program it seems all is operating fine in terms of getting the loop to work, but the outputs do not match the sample run that was provided to me, it seems as though it isn\u2019t calculating the amount the roommate owes accurately?</p>\n\n<p>Could anyone explain to me what I\u2019m doing wrong so that I may learn from my mistakes? This self-teaching stuff is hard.</p>\n\n<p>EDIT: And apparently I can\u2019t even format a reddit post properly, what a day.</p>\n</div><!-- SC_ON -->",
"likes": null,
"suggested_sort": null,
"banned_at_utc": null,
"view_count": null,
"archived": false,
"score": 5,
"no_follow": true,
"is_crosspostable": true,
"pinned": false,
"over_18": false,
"all_awardings": [],
"awarders": [],
"media_only": false,
"can_gild": true,
"spoiler": false,
"locked": false,
"author_flair_text": null,
"treatment_tags": [],
"visited": false,
"removed_by": null,
"num_reports": null,
"distinguished": null,
"subreddit_id": "t5_2qhoe",
"mod_reason_by": null,
"removal_reason": null,
"link_flair_background_color": "",
"id": "gtn4xw",
"is_robot_indexable": true,
"report_reasons": null,
"author": "POGofPOGs",
"discussion_type": null,
"num_comments": 14,
"send_replies": true,
"media": null,
"contest_mode": false,
"author_patreon_flair": false,
"author_flair_text_color": null,
"permalink": "/r/C_Programming/comments/gtn4xw/beginner_coder_cant_figure_out_this_while_loop/",
"whitelist_status": "all_ads",
"stickied": false,
"url": "https://www.reddit.com/r/C_Programming/comments/gtn4xw/beginner_coder_cant_figure_out_this_while_loop/",
"subreddit_subscribers": 82050,
"created_utc": 1590877224.0,
"num_crossposts": 0,
"mod_reports": [],
"is_video": false
}
}
],
"after": null,
"before": null
}
}
]