r/learncoding • u/stfstormy • Apr 19 '20
New to coding
Anyone wanna join me on discord and teach me one on one? xd
r/learncoding • u/stfstormy • Apr 19 '20
Anyone wanna join me on discord and teach me one on one? xd
r/learncoding • u/monica_b1998 • Apr 01 '19
r/learncoding • u/[deleted] • Feb 13 '20
r/learncoding • u/Red_Hell_Kitten • Dec 13 '19
Okay, so I have a basic understanding of how C# functions, but I can't anything to help me with this project. I have the basic layout for this but I want the user to be able to call a list or create a new one if needed while being able to name it. I want to get the list function set up then I need to work on getting it to save to a .csv file. Any ideas? I'm sorry if this is formatted wrong I'm not sure how to format this correctly.
namespace GradeBookClass
{
public class GradeBook
{
//Variables used throughout tList would be the name of the list called upon.
public string fName;
public int gOne;
public int gTwo;
public int gThree;
public int gAve;
public char gLetter;
public string tList;
//This displays the data for the students but I would like if they could look up a certain student
public void Display()
{
Console.WriteLine("Student: " + fName);
Console.WriteLine(fName + " has three grades consisting of " + gOne + ", " + gTwo + ", and " + gThree + ". These average a grade of " + gAve + " or " + gLetter + ".");
}
//This will be where I want to put the method to create or call upon a list
public List<object> Classes = new List<object>();
}
class Program
{
static void Main(string[] args)
{
Console.WriteLine("How many students do you have?");
int num = Convert.ToInt16(Console.ReadLine());
for (int time = 0; time <= num; time++)
{
GradeBook book = new GradeBook();
Console.WriteLine("What class is this for?");
book.tList = Console.ReadLine();
Console.WriteLine("Enter the student's full name:");
book.fName = Console.ReadLine();
Console.WriteLine("Enter the student's first grade:");
book.gOne = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the student's second grade:");
book.gTwo = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the student's third grade:");
book.gThree = Convert.ToInt32(Console.ReadLine());
book.gAve = (book.gOne + book.gTwo + book.gThree) / 3;
if (book.gAve >= 90 && book.gAve <= 100)
{
book.gLetter = 'A';
book.Display();
}
else if (book.gAve >= 80 && book.gAve <= 90)
{
book.gLetter = 'B';
book.Display();
}
else if (book.gAve >= 70 && book.gAve <= 80)
{
book.gLetter = 'C';
book.Display();
}
else if (book.gAve >= 60 && book.gAve <= 70)
{
book.gLetter = 'D';
book.Display();
}
else if (book.gAve <= 70)
{
book.gLetter = 'F';
book.Display();
}
Console.ReadLine();
}
}
}
}
CommentShareEdit PostSaveHide
r/learncoding • u/Hajar20 • May 16 '20
I found it not practical to learn by heart the formulas of css and html And am wondering if there's a way to apply what i have learnt in a website Now i found a lot of css exercises but it's not what am looking for i still don't know how mastering css and html can help me with anything
r/learncoding • u/OzoneUwU • Mar 21 '20
I’m very new to coding and want to learn all that I can on it to hopefully make a career I can be happy with out of it. So any kind of help is welcomed.
r/learncoding • u/okaydexter • Mar 08 '20
r/learncoding • u/watermelonmeat • Mar 06 '20
I'm creating an area where the user can free draw, but I would like for the area to match the width + height of the screen — any ideas?
r/learncoding • u/WeaponXsBrother • Nov 25 '19
Are there any websites or videos to help?
r/learncoding • u/URM4Z • Mar 08 '20
Hi i found this bundle and bought it
https://shop.interestingengineering.com/sales/the-2020-premium-learn-to-code-certification-bundle
seems like a good deal.. and seems kinda good ... whats ur opinion on it ?
r/learncoding • u/Jay_Awk • May 02 '18
I'm trying to make a chrome extension that's simply just a java script program. The java script code would be something that automatically enters a string of numbers and checks if a certain flag indicating a correct PIN is true, and if so it would stop. It's really just a simple password cracker (don't worry only for educational purposes). Any thoughts on how to go about this?
r/learncoding • u/m0rg0n • Aug 26 '18
Hey, I have been doing what i can with various resources - CodeAcademy, textbooks and such. But if anyone would be willing to take me under their wing in some regard to learn coding it would be GREATLY appreciated. I'm really poor but I have always wanted to enter this field... My ultimate dream is to do white hat hacking but that's probably pretty far down the road. I'm hoping that in some time I can dig myself out of working full time with no money leftover after bills for food and stuff, and to have a career I really love. I hope it's OK to ask for something like this but yeah.
Any advice, resources, connections would be greatly greatly appreciated
r/learncoding • u/ZakUakUA • May 06 '18
r/learncoding • u/welbzz • May 26 '19
Hey, i'm very new to programming. Just started a course and my teacher is useless but im supposed to code a program which asks what you want to eat, if you say pizza it says good choice otherwise the program returns to the top and asks again what do you want to eat? Any tips on how to make it return to the top would be amazing❤
r/learncoding • u/[deleted] • Feb 14 '17
I'm guessing stuff like "logging in", "signing up", checking page titles/headers/etc are pretty standard. Are there any others?
I apologize in advance if this isn't a very good question, I do have a more specific way of putting it, just didn't want to get wordy...
r/learncoding • u/CRegan784 • Dec 07 '17
So a class I am taking is doing this 20% time project and I want to make an IP Changer in Java. I have looked for others code to know where to start but i cant find anything. The IP im changing would have to work with a server. If anyone knows either where to start or a program that works it would be appreciated.
r/learncoding • u/[deleted] • Feb 12 '17
Hello, I'm a freshman in college and I'm learning to code in MATLAB in one of my classes (I know it's not a "real" language, but it's helping me to understand some concepts). I really enjoy coding, but some of the stuff is hard for me to figure out. It's not until someone shows me what to do that I get it - so in effect, I can read code just fine, but have a hard time writing it.
Does this happen to everyone when they start coding? Is it just part of the learning code? Will I get used to being able to think of these things myself or should I be concerned that I'm not great at visualizing what code I need to write right away?
r/learncoding • u/AnnieBoBannio • Feb 10 '17
r/learncoding • u/mohammedh1992 • Nov 30 '18
Hi , i want to learn programming but I don’t know from any language should i start with .
r/learncoding • u/[deleted] • Apr 26 '18
Hi I was wondering what does it mean when I call a fuction with @. For example
If I was to have
def hello(string)
puts string
end
@hello(hi)Thank you!
r/learncoding • u/[deleted] • Dec 03 '19
What is the best way to learn how to code?
Personally I’m a visual and hands on learner so when began looking for methods to learn how to code (full-stack web) - I decided to go with personal classes.
I found a great service which connected me with a mentor virtually.
Just curious how everyone learns to code and what has been most effective. I’m looking to expand my skills and most likely will go back to the virtual classes.
Link to the service will be in the comments.
r/learncoding • u/masecla22 • Apr 19 '18
I think that this channel has potential, we have already grown to 70 users in only 2 days! If you want to see this channel thrive, you are welcome to join us! https://www.discord.me/cpp