![]() |
|
Script C++ Kalkulator - Printable Version +- HN-Community (https://hacker-newbie.org) +-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html) +--- Forum: Coding/Programing (https://hacker-newbie.org/forum-19.html) +---- Forum: C & C++ (https://hacker-newbie.org/forum-77.html) +---- Thread: Script C++ Kalkulator (/thread-18532.html) |
Script C++ Kalkulator - tratama - 11-24-2013 Fungsi script ini yang pasti'y untuk Menghitunglah sesuai subject'y nih script'y gan : Code: #include <stdio.h>
#include <conio.h>
main()
{
int a, b, c, = 0;
clrscr ();
printf("Masukan pajang = "); scanf ("%d",&a);
printf("Masukan lebar = "); scanf ("%d",&b);
c = a * b ;
printf("Luas = %d",c);
} |