A place where criminals and hackers hang out..
 
HomeHome  FAQFAQ  SearchSearch  RegisterRegister  MemberlistMemberlist  UsergroupsUsergroups  Log inLog in  

Share | 
 

 C programming exercise.

View previous topic View next topic Go down 
AuthorMessage
JaVS_v2.5
Admin
avatar

Number of posts : 155
Age : 26
Localisation : vision homes seremban 2
Registration date : 2007-06-26

PostSubject: C programming exercise.   Mon Jul 26, 2010 1:19 am

Code:

#include <stdio.h>

int main(void)
{
 int enter_minutes,hours,minutes
 printf("Enter minutes:");
 scanf("%d",&enter_minutes);
 hours = enter_minutes / 60;
 minutes = enter_minutes % 60;
 printf("%d minutes is equal to %d hours and %d minutes.",enter_minutes,hours,minutes);

 return 0;
}

_________________
666 is the number of the BEAST :: dA :: quote; "dreaming of tits are just fucking awesome..."LOL..
Back to top Go down
View user profile http://p33phole.your-board.com
JaVS_v2.5
Admin
avatar

Number of posts : 155
Age : 26
Localisation : vision homes seremban 2
Registration date : 2007-06-26

PostSubject: Re: C programming exercise.   Mon Jul 26, 2010 1:23 am

Code:

#include <stdio.h>
#define pi 3.142

int main(void)
{
 int radius,height,base,volume
 printf("Enter radius of the cone (cm): \n\n");
 scanf("%d",&radius);
 printf("Enter height of the cone (cm): \n\n");
 scanf("%d",&height);
 base = pi * radius;
 volume = (1.0/3.0) * base * height;
 printf("The volume of the cone is: %d",volume);

 return 0;
}

_________________
666 is the number of the BEAST :: dA :: quote; "dreaming of tits are just fucking awesome..."LOL..
Back to top Go down
View user profile http://p33phole.your-board.com
smoke_weat
BORON!!
avatar

Number of posts : 183
Age : 25
Localisation : rising suns
Registration date : 2007-08-16

PostSubject: Re: C programming exercise.   Mon Jul 26, 2010 1:36 am

ape lagi bug ko bagi ni fuck!! affraid
Back to top Go down
View user profile
JaVS_v2.5
Admin
avatar

Number of posts : 155
Age : 26
Localisation : vision homes seremban 2
Registration date : 2007-06-26

PostSubject: Re: C programming exercise.   Mon Jul 26, 2010 12:25 pm

bukan bug la..ni coding exercise lab aku blaja.aku dah siap aku taruk kat forum ni.kang kat lab nnti nk wat...aku copy paste pastu siap.hahaha..pastu fucking la.hahaha..

nnti aku wat bug pakai msdos.delete windows hahaha chaos x pon duplicate file windows pastu paste kat desktop infinitely.smokeweat akan chaos.
nak lagi motherfucker bendalah ni aku set dia run masa startup

_________________
666 is the number of the BEAST :: dA :: quote; "dreaming of tits are just fucking awesome..."LOL..
Back to top Go down
View user profile http://p33phole.your-board.com
smoke_weat
BORON!!
avatar

Number of posts : 183
Age : 25
Localisation : rising suns
Registration date : 2007-08-16

PostSubject: Re: C programming exercise.   Mon Jul 26, 2010 6:35 pm

fuck ko jay!!!nice one daron!!!keep it up afro
Back to top Go down
View user profile
JaVS_v2.5
Admin
avatar

Number of posts : 155
Age : 26
Localisation : vision homes seremban 2
Registration date : 2007-06-26

PostSubject: Re: C programming exercise.   Mon Jul 26, 2010 6:49 pm

nnti aku post code dia kalu dah siap Razz

_________________
666 is the number of the BEAST :: dA :: quote; "dreaming of tits are just fucking awesome..."LOL..
Back to top Go down
View user profile http://p33phole.your-board.com
smoke_weat
BORON!!
avatar

Number of posts : 183
Age : 25
Localisation : rising suns
Registration date : 2007-08-16

PostSubject: Re: C programming exercise.   Tue Jul 27, 2010 12:55 am

ok2...aku tgg albino
Back to top Go down
View user profile
tyrapeeps

avatar

Number of posts : 2
Age : 26
Localisation : PD/Sunway
Registration date : 2010-07-26

PostSubject: Re: C programming exercise.   Tue Jul 27, 2010 11:14 pm

jay, ko amik course apa damnit? pirat
Back to top Go down
View user profile http://www.tyrapeeps.blogspot.com
JaVS_v2.5
Admin
avatar

Number of posts : 155
Age : 26
Localisation : vision homes seremban 2
Registration date : 2007-06-26

PostSubject: Re: C programming exercise.   Tue Jul 27, 2010 11:15 pm

aku amek software engineering..

_________________
666 is the number of the BEAST :: dA :: quote; "dreaming of tits are just fucking awesome..."LOL..
Back to top Go down
View user profile http://p33phole.your-board.com
smoke_weat
BORON!!
avatar

Number of posts : 183
Age : 25
Localisation : rising suns
Registration date : 2007-08-16

PostSubject: Re: C programming exercise.   Wed Jul 28, 2010 12:59 am

haha...nice pasni leh ko prank system internet plak tongue
Back to top Go down
View user profile
JaVS_v2.5
Admin
avatar

Number of posts : 155
Age : 26
Localisation : vision homes seremban 2
Registration date : 2007-06-26

PostSubject: Re: C programming exercise.   Wed Jul 28, 2010 9:05 pm

hahaha..tu la plan nye.. Twisted Evil
wokayh! kod baru siap.

Code:

#include <stdio.h>
int main(void)
{
   int year,salary,total,counter = 0;
   char status;
   while(counter < 1)
   {
      printf("Enter "F" if you work Full-time or Enter "P" if you work Part-time.\n");
      printf("Please Enter your current status: ");
      scanf("%c",&status);
      printf("\nHow many years have you service to the company?\n");
      printf("Please Enter your years of service: ");
      scanf("%d",&year);
      printf("\nHow much is your salary?\n");
      printf("Please Enter your salary: ");
      scanf("%d",&salary);

      if( (status == 'F' || status == 'f') && year < 5 )
      {
         total = (0.04 * salary) + salary;
         printf("\nYour new salary is: RM %d\n\n",total);
      }
      else if( (status == 'F' || status == 'f') && year >= 5 )
      {
         total = (0.05 * salary) + salary;
         printf("\nYour new salary is: RM %d\n\n",total);
      }
      else if( (status == 'P' || status == 'p') && year < 5 )
      {
         total = (0.025 * salary) + salary;
         printf("\nYour new salary is: RM %d\n\n",total);
      }
      else if( (status == 'P' || status == 'p') && year >= 5 )
      {
         total = (0.03 * salary) + salary;
         printf("\nYour new salary is: RM %d\n\n",total);
      }
      else
      {
         printf("\nInvalid input!\n\n");
      }
      counter+= 1;
   }
   return 0;
}

_________________
666 is the number of the BEAST :: dA :: quote; "dreaming of tits are just fucking awesome..."LOL..
Back to top Go down
View user profile http://p33phole.your-board.com
smoke_weat
BORON!!
avatar

Number of posts : 183
Age : 25
Localisation : rising suns
Registration date : 2007-08-16

PostSubject: Re: C programming exercise.   Wed Jul 28, 2010 11:31 pm

bagus!!! lol!
Back to top Go down
View user profile
JaVS_v2.5
Admin
avatar

Number of posts : 155
Age : 26
Localisation : vision homes seremban 2
Registration date : 2007-06-26

PostSubject: Re: C programming exercise.   Thu Jul 29, 2010 12:38 am

ni kod exercise klass aku la..bukan bug cheers

_________________
666 is the number of the BEAST :: dA :: quote; "dreaming of tits are just fucking awesome..."LOL..
Back to top Go down
View user profile http://p33phole.your-board.com
smoke_weat
BORON!!
avatar

Number of posts : 183
Age : 25
Localisation : rising suns
Registration date : 2007-08-16

PostSubject: Re: C programming exercise.   Thu Jul 29, 2010 4:43 pm

aku tau la asshole!!kan ko dah penah cakap aritu motherfucker!!! haha!! cheers
Back to top Go down
View user profile
JaVS_v2.5
Admin
avatar

Number of posts : 155
Age : 26
Localisation : vision homes seremban 2
Registration date : 2007-06-26

PostSubject: Re: C programming exercise.   Wed Aug 04, 2010 10:45 pm

Haha..wtf..igt ko x tau.....
kk2 jgn wat asshole!!!!!! cheers Basketball

_________________
666 is the number of the BEAST :: dA :: quote; "dreaming of tits are just fucking awesome..."LOL..
Back to top Go down
View user profile http://p33phole.your-board.com
smoke_weat
BORON!!
avatar

Number of posts : 183
Age : 25
Localisation : rising suns
Registration date : 2007-08-16

PostSubject: Re: C programming exercise.   Thu Aug 05, 2010 3:07 am

haha...yala asshole..aku tau la dammit!!! lol!
Back to top Go down
View user profile
nazirulez
Recruit
avatar

Number of posts : 20
Localisation : 6th Hell
Registration date : 2007-09-25

PostSubject: Re: C programming exercise.   Sun Aug 08, 2010 10:52 am

tu code amende asshole???self-destruction kew pew?? tgk pon mcm fuck ar pening... Shocked
Back to top Go down
View user profile
smoke_weat
BORON!!
avatar

Number of posts : 183
Age : 25
Localisation : rising suns
Registration date : 2007-08-16

PostSubject: Re: C programming exercise.   Sun Aug 08, 2010 10:52 pm

nk tau, copy paste ar kat pc ko asshole!! pastu ko tau ar nanti, kahkahkah!!! lol! cheers
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: C programming exercise.   

Back to top Go down
 
C programming exercise.
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Good articles on migraine's relationship with stroke/heart attack/exercise
» Exercise and migrain update
» Success! Exercise, anxiety, and sun migraines and hot head done!
» Migraine after exercise
» Iron Mike Tyson's Workout

Permissions in this forum:You cannot reply to topics in this forum
P33PHOLE HACKING NETWORK :: Codes & Bugs archive-
Jump to: