• Home
  • Its Me
  • Minecraft server

Biebs' World

A portal into my world…through my voice

Feeds:
Posts
Comments
« another poem
ah hahahaha »

a peek into whats taking up my time

September 19, 2006 by Biebs

#include

int main (void)
{
char desiredgrade;

double min_average;
double currentaverage;
double weight;
double score;

printf("Please enter your desired grade: \n");
scanf("%c", &desiredgrade);

printf("Please enter your minimum average required: \n");
scanf("%lf", &min_average);

printf("Please enter your current average in course: \n");
scanf("%lf", &currentaverage);

printf("Please enter how much the final counts as a percentage of the course grade: \n");
scanf("%lf", &weight);

score=(min_average-((100-weight)*(currentaverage/100)))*(100/weight);
printf("You need a score of %.2f on the final to get %c\n",score, desiredgrade);

return 0;
}

well if that doesnt make any sense thats ok this is the stuff im doing for class this simple grade calculator only took my 5 hours to complete =P and this is for class im taking i really dont need, but im having fun!

Share this:

  • Digg
  • Twitter
  • Facebook
  • Pinterest

Like this:

Like
Be the first to like this post.

Posted in Biebs' World Blog | 5 Comments

5 Responses

  1. on September 19, 2006 at 2:17 pm light

    Interesting stuff. I wish I could take a class I didn’t need, but I think I’ll have to take all classes I need. I’m taking a computer applications class. We’ve started working with Unix and Pico, don’t really like using them. I’m glad we all use the binary system.


  2. on September 19, 2006 at 2:49 pm biebs

    well when all you need to graduate is 16 hours and you cant take them all in one semester due to time conflicts in order to stay full time i had to find “filler” classes. my class im taking here is a computer science class and i wrote this using unix and pico. so i bet my class is similar to the one you are taking.


  3. on September 19, 2006 at 4:26 pm Matt

    Ha ha. Oh man. I remember the days of programming little programs on the TI-86 that Andrea Wehkamp used to have. I programmed a coin toss program where you started with $100 and could wager money guessing whether it was heads or tails. It was actually a pretty fun game.


  4. on September 19, 2006 at 6:27 pm biebs

    i remember the magic eight ball program you wrote.


  5. on September 19, 2006 at 8:41 pm light

    This afternoon I spent one hour searching for a file as part of a homework assignment, in the Unix system. It really sucked. I felt like I was going in circles, through directories and when I opened many files, it wasn’t the one I was looking for. Was so happy to find it and print it out. Two more parts to do using pico.

    You’re lucky, only 16 hours. You have a lot of room to pick your classes. I’m dual majoring and this class is my first science class to satisfy a liberal arts requirement,(need to take 2 more science courses) not part of my major’s requirements.



Comments are closed.

  • Enter your email address to follow this blog and receive notifications of new posts by email.

    Join 176 other followers

  • titter
  • Save the Internet: Click here
  • Meta

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.com
  • Archives

    • May 2012
    • April 2012
    • March 2012
    • February 2012
    • December 2011
    • November 2011
    • October 2011
    • September 2011
    • August 2011
    • July 2011
    • June 2011
    • May 2011
    • April 2011
    • March 2011
    • January 2011
    • December 2010
    • November 2010
    • October 2010
    • September 2010
    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • October 2007
    • September 2007
    • August 2007
    • July 2007
    • June 2007
    • May 2007
    • April 2007
    • March 2007
    • February 2007
    • January 2007
    • December 2006
    • November 2006
    • October 2006
    • September 2006
    • August 2006
    • July 2006
    • June 2006
    • April 2006
  • what im up to

    • All moved, who wants to help unpack instagr.am/p/LGfAahmn20/ 50 minutes ago
    • @kartmaster look it up on youtube ... ;) 1 day ago
    • @mandamanea no worries i ended up getting is.gd/f4A2gB ... i now have been told i have reached coffeh "snob" status due to this 2 days ago
    • Mmmm, bacon! instagr.am/p/K2_lx_Gn_-/ 6 days ago
    • @Sunshine_Guinn its not nice to stick your tounge out at people ... 6 days ago

Blog at WordPress.com.

Theme: MistyLook by Sadish.


Follow

Get every new post delivered to your Inbox.

Join 176 other followers

Powered by WordPress.com