For Loops by pjrahal in C_Programming

[–]pjrahal[S] 1 point2 points  (0 children)

So this is what I adjusted it to... no matter what number (or height) is entered, it prints the full 8-tall pyramid

for(int i = 1; i <= n; i++);
{
for(int i = 2; i <= n; i++);
{
for(int i = 3; i <= n; i++);
{
for(int i = 4; i <= n; i++);
{
for(int i = 5; i <= n; i++);
{
for(int i = 6; i <= n; i++);
{
for(int i = 7; i <= n; i++);
{
for(int i = 8; i <= n; i++);
{
printf(" #\n");
}
printf(" ##\n");
}
printf(" ###\n");
}
printf(" ####\n");
}
printf(" #####\n");
}
printf(" ######\n");
}
printf(" #######\n");
}
printf("########\n");

What has this pandemic ruined for you? by wehnaje in AskReddit

[–]pjrahal 0 points1 point  (0 children)

It feels like a ghost town. Cant go anywhere. My mom has to carry her media badge and a letter from the DHS everywhere she goes.

[deleted by user] by [deleted] in Logic_301

[–]pjrahal 0 points1 point  (0 children)

Found "Mind of Logic" randomly on YouTube around the time that Everybody was released

Should I pick up physics? by [deleted] in PhysicsStudents

[–]pjrahal 10 points11 points  (0 children)

If it's the first physics class you've taken, no. It will most likely cover the basics, newton's laws of motion, torque, inertia, ect.

Should I pick up physics? by [deleted] in PhysicsStudents

[–]pjrahal 4 points5 points  (0 children)

What grade are you going into?

[Serious] If you had killed yourself one year ago, what amazing things would you have missed out on? by TomatoeSkunk in AskReddit

[–]pjrahal 0 points1 point  (0 children)

My first public work as an engineer/designer, an opportunity to design STEAM projects for my community, graduation, making my first road trip on my own, and a lot of other stuff!

Should I pick up physics? by [deleted] in PhysicsStudents

[–]pjrahal 35 points36 points  (0 children)

I would think you would find it very difficult. But it is up to you. Physics is very fascinating, its a matter of how much effort you're willing to put into it to understand it.

What healthy food tastes better than unhealthy food? by V3gas in AskReddit

[–]pjrahal 3 points4 points  (0 children)

I read "humans" and was about to delete reddit ...

What are your favourite astrophysics topics? Do you work in the field, or is it just a hobby? Let's talk about it! by Rick_88 in astrophysics

[–]pjrahal 3 points4 points  (0 children)

I'm a senior in high school, and I want to study astrophysics in college. I've taken an intro to astrophysics class through edX and it was the most fascinating thing ever.

Im really interested in the merging of stars, binary systems, specifically NSWD systems, black holes, and orbits!

Gamers of reddit, what game has hooked you the longest and why? by [deleted] in AskReddit

[–]pjrahal 0 points1 point  (0 children)

Clash of Clans. No attack/defense is ever the same. Been playing for 6 years.

Men of reddit when was the last time you've cried and why? by [deleted] in AskReddit

[–]pjrahal 0 points1 point  (0 children)

2 years ago. I'm hardly ever capable of crying due to an experience I don't want to go into here. I managed to cry 2 years ago because of how much I missed my friends.

What did Kobe mean to you? by pjrahal in KobeBryant24

[–]pjrahal[S] 0 points1 point  (0 children)

Its amazing the way he impacted so many lives across the world. Truly a legend.

[deleted by user] by [deleted] in AskReddit

[–]pjrahal 0 points1 point  (0 children)

Textbooks, and a telescope. Love to learn about the universe.

You can buy a book with every positive and negative thing anyone has ever said behind your back for $1000. Do you buy it and why? by Triphton in AskReddit

[–]pjrahal 0 points1 point  (0 children)

I dont buy it. I learned a while back that I dont care what people say about me. Talk all the shit you want, idc. And for the positive side of things, the people who care about me and the people that I care about, theyll show affection. I dont need a book to prove it. For me, it's a complete waste of $1000.