pascal

bahasa pascal adalah salah satu bahasa pemrograman yang cukup terkenal, dimana merupakan salah satu baha tingkat tinggi, disini saya akan memberikan sebuah contoh struktur dari bahasa pascal


Contoh Penghitungan Gaji

Ketentuan Soal :
1. Input Nama Karyawan
2. Input Jabatan
Direktur : Gaji 3000000, Tunjangan 20 % dari gaji
Manager : Gaji 2000000 , Tunjangan 15% dari gaji
Karyawan : Gaji 1000000 , Tunjangan 10% dari gaji
OB : Gaji 800000 , Tunjangan 5% dari gaji

3. PPN 10 % dari gaji
4. Gaji Bersih : gaji + tunjangan – PPN

Penyelesaian :

Uses crt;
Var nama:string[20];jabatan:string;
Gaji:longint;
Tunj,ppn,gajibersih:real;
Begin
Clrscr;
Write(‘Nama Karyawan : ‘); readln(nama);
Write(‘Masukkan Jabatan : ‘); readln(jabatan);
If (jabatan=’Direktur’) or (jabatan=’direktur’) then
Begin
Gaji:=3000000;
Tunj:=0.2* gaji;
End
Else If (jabatan=’Manager’) or (jabatan=’manager’) then
Begin
Gaji:=2000000;
Tunj:=0.15* gaji;
End
Else If (jabatan=’Karyawan’) or (jabatan=’karyawan’) then
Begin
Gaji:=1000000;
Tunj:=0.1* gaji;
End
Else
Begin
Gaji:=800000;
Tunj:=0.05* gaji;
End;
Writeln(‘Gaji Bersih : Rp.‘,gaji);
Writeln(‘Tunjangan Jabatan : Rp.‘,tunj:9:2);
Ppn:=0.1*gaji;
Writeln(‘PPN 10 % : Rp.‘,ppn:9:2);
Total:=(gaji+total)-ppn;
Writeln(‘Total Gaji : Rp.‘,total:9:2);
Readln;
End.

semoga bermanfaat.,.,.,.,

20 comments:

Anonymoussaid...

What I realized is many of the things on the list weren't that far of a stretch, and I could live many of them NOW, if I made a few changes. Far Cry 3 ends 2012 the right way, by giving us an immersive, open world environment. The i - Phone 4 possesses what is commonly called a retina display.

Here is my web page ... crysis 3

Anonymoussaid...

Congress tried in 2007 to pass a measure that would lock in the
rate that could be charged through 2010 at 7. For instance i
- Pod users will have difficulty syncing their devices with
i - Tunes; the popular media player, sync and marketplace application
isn't available on Linux. Some radio stations have also started making use of streaming MP3 format, which could be played through Winamp.

My web page: visit the following website page

Anonymoussaid...

These are not empty words which are uttered by a disciple of Jesus who anyone would anticipate to say such as this.
Another consideration when choosing your software is whether you will be connecting
to a single stream or multiple streams. com ( is the home site for a radio station only
on the internet which provides exactly what it says:
Worship music.

My web site; internetradio

Anonymoussaid...

When you open it, music starts playing, and you do not have to do anything else but adjust the volume and close it when you
want it to be done. Another consideration when choosing your software is whether you will be
connecting to a single stream or multiple streams.
Individuals have acquired different software and programe through which you could download these videos.



Also visit my page: click the following page

Anonymoussaid...

However, you must know how to be able to effectively utilize the tools for you to essentially fully use the website.
You might not allow people to write on your wall, however, when you share a thought,
a link, or comment on someone's else wall, people can definitely also leave a comment. The challenge with being on top is that it can get lonely.

Feel free to surf to my homepage; click the following page

Anonymoussaid...

It bears mentioning that there are also games
and simulations available to those wanting to learn to trade stock index futures.
Say you're doing as well at Chemistry, and as you are doing at Maths Extension 2, then instead of splitting your study time equally between the two (just because they are both worth 2 units each), you should spend more time on Extension 2, simply because it scales higher. t love the unself-conscious little boy or girl, the undaunted miniature explorer who moves with unbridled enthusiasm to experience life.

Here is my web blog: www.lesdejantes-agny.org

Anonymoussaid...

But with Nexus Radio the only settings you have to worry
about are where you want to save your files and what file type you want to save it as.
They also apparently believe that their customers who like a particular
song they hear on the radio, are likely to purchase that
song, which could add to downloads from i - Tunes. So, a custom direct application and
route tracking can make it easier to you cut fuel cost,
save visit time and wholesome delivery.

Review my page - radio yskl la poderosa 104 1

Anonymoussaid...

Try simple games and check how your internet connection is and then move on
play more games. The only downside of it in a lot of people's eyes is the fact that there is no multiplayer content. In this addictive puzzle game, catch that damn fly and avoid those tricky obstacles.

Feel free to visit my web page :: http://www.spielespielen24.de/puzzle/animals-connect

Anonymoussaid...

Once you have done this, set the burn speed to 4x and click Burn and wait for it to complete.
Say you're doing as well at Chemistry, and as you are doing at Maths Extension 2, then instead of splitting your study time equally between the two (just because they are both worth 2 units each), you should spend more time on Extension 2, simply because it scales higher. In this addictive puzzle game, catch that damn fly and avoid those tricky obstacles.

Also visit my web site: relevant web page - www.spielespielen24.de

Anonymoussaid...

Instead of saying buy my product, ask for feedback. The words in Tweets are searchable so from a marketing
standpoint it is important to use words you want to be found, such as health,
wellness, pain or stress relief, etc. Another thing you'll want to avoid is relying on Twitter as your sole source of marketing.

my site; http://tingvitezepsuff.exteen.com/20130501/tips-to-help-you-understand-social-media-marketing

Anonymoussaid...

How often have you bought headsets but discarded them after
some time, once they didn. Which means that you will only
end up spending $47 on this unit. As one of the most innovative and quality computer peripheral device makers in the world, Switzerland-based Logitech
International.

Look into my blog post :: http://www.logitech-tastaturen.de/tag/k270/feed/

Anonymoussaid...

It really is developed in this type of way that it makes the driver comfortable and in charge as if they are driving an actual car.
Recently many players encounter G27 problem in Shift 2:
Unleashed. Building a better Naga - I've always really liked Razer's
Naga (and I've used nearly all of them at some point), but I have to say that the G600 is hands-down my pick.

my web page :: http://www.logitech-tastaturen.de/tag/300i/

Anonymoussaid...

Major follows some sports, primarily during the playoffs. Caution:
when a hole is made in a can, there may be metallic edges that can cut one's mouth. You can only acquire a small amount of in-game money or gold, and cannot participate in the auction house, send mail, join guilds, or even whisper to someone unless someone whispers to you first.

Also visit my website; spielespielen24.de

Anonymoussaid...

Watch online TV programs for free and with o monthly costs.

The radio has its own stream through a wireless router and you
can easily listen to all the existing radio stations.
Raima has options to limit individual file sizes in the preferences dialog.


My web-site ... internetradio aufnehmen

Anonymoussaid...

As long as poets continue to write poetry new ones will be created to
categorize the person's poems. In his introduction to the book poet Yusef Komunyakaa compares Ai's dramatic
approach to that of a method actor. Your mother would be overwhelmed to find something so beautiful
and interesting.

Anonymoussaid...

"Worked All Zones Award" is the same concept with time zones.
It was an entertaining radio program that played the music people wanted to hear combined
with his groovy upbeat personality. Perfect for long trips and for
up to date information on road conditions ahead.

Also visit my web blog ... radio control submarine videos []

Anonymoussaid...

Like any game, when we stay within the rules, we score, and when we play outside the rules there of course
is a penalty. However, every character in the game (even supporting players) should be presented
in this same detail. t love the unself-conscious little boy or
girl, the undaunted miniature explorer who moves with
unbridled enthusiasm to experience life.

Also visit my weblog ... avaxhome

Anonymoussaid...

The same test can be performed while on the shower. These are reaching
thousands of people at a time who recognize the self help benefits and
pass them on to friends who do the same and they become
viral. It may feel awkward or just plain wrong
to write in new ways, but the more uncomfortable it feels,
the more it's likely to lead to breakthroughs.

My web-site; poems **

Anonymoussaid...

This method of Fishing :: http://Empirebully.com/cgi-bin/fpg.cgi :
: also has a by-catch of non-target species such as sharks, dolphins, turtles, and other
non-target fish species. One of the benefits of fishing is
that it is not physically demanding. Garmin Accuracy and Innovation Leads You
to the Fish.

Anonymoussaid...

This is a unusual looking cooking lid is made of soft silicone.
If no, then this article will completely guide you on making space cake.
Decopac Disney Princess Castle Decoset -- Disney Princess Castle Deco - Set is the ultimate cake decoration for your little princess.


Also visit my web page; hello kitty cake accessories []

Post a Comment

Kasih Comment na Dunk

 
My Blog is proudly powered by Blogger.com Design by Khotib