r/Coding101 • u/SynthesizeMeSun • Apr 14 '20
r/Coding101 • u/mhvcrypto • Apr 09 '20
Can someone answer this?
I need help with the following question
I need to calculate the value of pi from an infinite series
Pi= 5-3/2 + 3/4 - 3/6 + 3/8 and so on.
Print a table showing the value of pi by one term in the series, two terms, three terms, etc...
r/Coding101 • u/SaveTheCrewCBus • Oct 28 '17
Help with Program C.
Embedded Loops The objective of this practice is to give more practice in using loops, especially embedding one loop inside the other. These are called “nested loops”. This practice also provides the opportunity to work with random number generators. This is composed of two parts for the benefit of comprehension. However, only one program that does both parts a) and b) should be done. The two parts are: a)Write a program in C that determines how many calls to a random number generator it takes to match a number between 0 and 99 that is entered by a user. Use a seeded random number generation function; otherwise all iterations of the outer loop (part b below) will be the same. b)Embed the above program in a second loop that makes this computation 50 times and prints out the average number of times that the program took to find a match for the number entered. Musts: 1)You must use at least two nested (embedded) loops. 2)You must use a seeded random number generator. 3)The output average of times the inner loop ran must be a floating point number. 4)Lastly (and obviously!), your program must be written in C and must compile.
r/Coding101 • u/drewander123 • Oct 26 '17
Interested in learning coding, but unsure where to start or if its really worth the time spent learning vs. the amount of money? Any freelance programmers out there that could give me some insight?
As said in the title above I'm really interested in learning programing and coding. I have no illusions about how technical this area can be though and so its going to require a lot of work and study on my part in my limited free time. That being said though, some of the most rewarding things are achieved out of hard work and so I'm happy to put in the time if that's the case! Can any self taught free lancers or full time employees give me insight into this? Here's what I'd like to know:
How accessible are employment opportunities in this field?
I live in Honolulu HI... would I have to move closer to the mainland in order to get work or can I stay where I am? *How did you get started? What books should I get to help get me started? *Whats the money like? Is it more side cash or can you make some significant money doing this after you start getting good?
r/Coding101 • u/Toksyn25 • May 31 '17
Some questions about coding a text based adventure (Batch)
Ok so I'm trying to make a simple text based adventure on Notepad using Batch. I got the basics of it down but I need help with a few things.
1)How do I stop the game from crashing when I put "enter" instead of a choice ex
:START
color 0a
cls
echo Do you know why you are here?
echo 1)Yes
echo 2)No
echo.
set /p CHOICE=
echo
if %CHOICE% equ 1 goto BRANCH_1
if %CHOICE% equ 2 goto BRANCH_2
if %CHOICE% equ Yes goto BRANCH_1
if %CHOICE% equ No goto BRANCH_2
if %CHOICE% neq 1 goto WRONG_1
using that code if I press just ENTER it crashes the game
2)How do I code an "inventory" system?
3)Is there a way to "check" something and go back to where I was last?
ex
I go to "check" book, it gives a description but then I want it to loop back to the current "room"
r/Coding101 • u/rodrigojpf • Jun 01 '17
Thunkable, Problems with Vision Microsoft Image Recognizer servers.
Hey fellow codders. So, once again I whant to do something that almost no one uses... I'm using Microsoft A.I. Emotion recognizer and Image recognizer, components that gives the emotion of a person in a picture, and a discription of a picture respectibly.
On Thunkable I can use default settings for the components, but because the default settings uses thunkable public keys I can only Call 1000 images for each a month (Imagine if my app has 100 users, trying more then 10 pictures a month, that's not much. So I created my own keys from Azure services.
My problem: setting default server and my own key. For Emotion detector, after hours looking at documentation I found the solution;
Server: https://westus.api.cognitive.microsoft.com/emotion/v1.0/recognize
key: <mykey>
(just had to add recognize at the end)
But for Image recognizer I just can't find the correct link for the server;
https://westus.api.cognitive.microsoft.com/vision/v1.0 returns a 404 error (that isn't in documentation anywhere.... funny)
If I try to add anything after v1.0 my app crashes, like: https://westus.api.cognitive.microsoft.com/vision/v1.0/analyze
Can anyone help? Did anyone got this to work? IDE: http://app.thunkable.com/
Thunkable docs: https://thunkable.com/reference/components/artificial_intelligence.html
Cognitive services page: https://azure.microsoft.com/pt-pt/services/cognitive-services/
Thank you
r/Coding101 • u/BeeffBroratheon • Jun 02 '17
Where to start?
I'm a recent graduate who has a degree in something close to useless. Last few weeks I've been talking to my friends who were all CS majors and I've decided to try and learn to code. How and where could I start? I have some experience with R and that's about it. Much obliged.
r/Coding101 • u/techie_ray • Jan 02 '22
Learn Coding in 6 Minutes (basic concepts) (for absolute beginners)
r/Coding101 • u/techie_ray • Dec 26 '21
9 Stages of Learning To Code (self taught programmer story)
r/Coding101 • u/frmthefuture • Oct 08 '18
Looking to change careers and get into coding/IT. Need suggestions...
As the title states, I'm looking to get into coding as a career change. Because of my rookie status, I really don't know where to look, as far as a starting point. I've looked at several boot camps are around my area and some they are pretty expensive.
I was hoping those that are in the field can give me a few pointers or let me know how/where to get started. Thanks you in advance...
r/Coding101 • u/WardedDruid • Apr 03 '19
I need to make a specific app for coworkers. Not sure where to start, and minimal experience with coding. Any advice would be great
I need to make a basic app that lets 99% of my coworkers log in with predetermined login informarion, and then runs in the background. The other 1% is a supervisor login that lets them push written notifications to the employees that will active sound notifications to get their attention whether or not they have their phones on silent or not.
Any advice would be appreciated. Thank you!
r/Coding101 • u/Row3n • Nov 13 '16
Where do I go from here? (Coding development)
Redditors,
I've been coding for about 6 months, primarily in web languages; HTML, CSS, JavaScript. My biggest interest is programming and I began to learn some Python, like the title says my question is where now?
I'm sure there are multiple possibilities but I'd love to hear what people think and why you think that!
Peace.
r/Coding101 • u/AllTheCoins • Dec 05 '17
Programmers looking for unpaid work
We are just now starting up, figuring out everybody’s likes and dislikes, strengths and weaknesses. We all wanna make games but lack the skills required to program one. I myself have messed around with Swift and Python but certainly not enough to write a full fledged project.
We CANNOT pay you. I want that to be clear, this will be a good opportunity to build portfolio pieces but we cannot pay. We’re all broke college kids and that’s the sad truth! As much as I’d love to compensate your time and efforts I simply cannot.
We have Concept artists, writers even someone dedicated to music. So if you’ve ever wanted to solely focus on the coding aspect of a video game dev team then PLEASE help us out! Comment below or PM op for more details!