Questions tagged [beginner]
Add this tag to your question to indicate that you are new to the language of your code. This will often be taken into consideration by reviewers when assessing your code.
7,587 questions
6 votes
5 answers
1k views
JavaScript program that calculates the sum and difference of a pair of numbers
The goal of the following openprocessing.org JavaScript program is to calculate the sum and difference of a pair of numbers and print the 2 results if they are both positive. I want to do the ...
4 votes
4 answers
1k views
4 votes
3 answers
232 views
Field Sorting , ANSI-C/K&R 2ED, Exercise 5-17 brainstorming
This program is an expansion of the sorting utility built in previous chapters of K&R's 2nd edition of ANSI-C Programming. It parses command-line arguments to determine which fields to sort by and ...
8 votes
4 answers
1k views
Python implementation of core fundamentals to calculate math arithmetic
This program takes a user input to choose which calculation method they'd like to use, then uses a separate module and the math library to perform said calculation. I'd like some feedback as to how ...
6 votes
1 answer
307 views
Splitting a long introduction into collapsible elements easier to read and translate
Before I started, we had a few long introductory texts that were shown to users in different part of the editor window, depending on what type of object they are editing. The texts describe how to add ...
3 votes
1 answer
105 views
OpenProcessing.org JavaScript program - Building a list of matrices
My openprocessing.org JavaScript code listed below produces the output I want but doesn’t seem very elegant to me especially the “.M” in “matrices[mat].M[row][col]”. Any comments to improve the ...
5 votes
4 answers
902 views
A program to solve quadratic equations ax² + bx + c = 0 with imaginary results
This is my second post and my second “tough” question I came across while reading PPP3. I graduated a while ago and honestly forgot the equation... The question didn’t explicitly say I needed to find ...
5 votes
2 answers
936 views
rock paper scissors game with randomized system choices. NOT using rnd()
Here is the question I was trying to answer: [11] Write a program that plays the game “Rock, Paper, Scissors.” If you are not familiar with the game do some research (e.g., on the Web using Google). ...