Jump to content

oc0110

Member
  • Posts

    69
  • Joined

  • Last visited

Everything posted by oc0110

  1. I really enjoyed watching the pet girl of sakurasou, and I heard that d-gray man is also really good in the comic books, but not sure about the anime
  2. Well then I'm currently using the lg G2 I would recommend it especially for the price
  3. since I already declared S was double on the first line it doesn't make sense to make it an integer later on so, I took out S from the first declaring line and replaced int with float.
  4. now i edited to: #include <stdio.h>#include <math.h>main(){ double area, a, b, c, S; printf("A = %d", area); int S = (a + b + c)/(2.0); area = sqrt(S*(S-a)*(S-b)*(S-c)); getchar();} but I keep getting an error message
  5. So far I have this written down, but I don't know where I'm wrong for number 1 #include <stdio.h>#include <math.h>main(){ double area, a, b, c, S; printf("A = %d", area); int 2.0*S = a + b + c; area = sqrt(S*(S-a)*(S-b)*(S-c)); getchar();}
  6. Ah yes thank you so much just the type of help i needed cause i was stuck right there.
  7. Thts the thing. I'm not sure about the question.. Sry I'm really new to programming.
  8. I am trying to solve a few problems and got stuck with these three. #1 Area of a triangle is given by the formula A = sqrt[s(S-a)(S-b )(S-c)] where a, b and c are sides of the triangle 2S = a + b + c. Write a program to compute the area of the triangle given the values of a, b and c. #2 Write a program to determine and print the sum of the following harmonic series for a given value of n: 1 + 1/2 + 1/3 + ... + 1/n The value of n should be given interactively through the terminal. #3 Write a program that prints the even numbers from 1 to 100. I'm really new to C language Thanks to those who are helping I really appreciate it
  9. I may not be the oldest forum user, but one thing I like the most about the forum is our community Linus Media group is the one who keeps the forum up and running (thank you for everything you guys have done), but I also want to say thanks for everyone who is part of the forum to make this all miracle happen
  10. Right now Java and C language is most commonly used, but in the future they may start using Python more and more.
  11. I've watched the world is still beautiful and it was alright but stopped watching in the middle
  12. Guys just sped through the entire anime!! I hoped for a more happy ending, but the story was really touching and quite well made. It kind of reminded me of the movie "50 first dates". You guys will like it and those of you who don't really like that kind of stuff might not like it, but after watching this, I'm definitely putting this on my top animes watched list.
  13. I've watched both Nisekoi and Anohana both really good anime to watch
  14. I have been using a laptop and I was wondering if using a aftermarket thermal compound will improve temperature. If so, what kind of thermal compound will be good?
  15. Guys I've watched "my devil is a part timer" and I recommend it, but I think the votes decide the anime for the week
  16. Now I feel bad for Linus. I like them both so I didn't vote
  17. mine weighs 1.39 kg it's a ultrabook
×