C++ Pixel
Sabtu, 12 Juli 2014
Add Comment
#include<iostream>
#include<conio.h>
int main(){
int a,b,c;
cout<<" ********************\n";
cout<<" ** CLIPPING PIXEL **\n";
cout<<" ********************\n\n";
cout<<" Masukkan Besar Pixel : ";
cin>>a;
cout<<" ++=======++\n";
cout<<" ** HASIL **\n";
cout<<" ++=======++\n\n";
if(a<0){
cout<<" Pixel : 0";
}else if(a>255){
cout<<" Pixel : 255";
}else{
cout<<" Pixel : "<<a;}
getch();
}
#include<conio.h>
int main(){
int a,b,c;
cout<<" ********************\n";
cout<<" ** CLIPPING PIXEL **\n";
cout<<" ********************\n\n";
cout<<" Masukkan Besar Pixel : ";
cin>>a;
cout<<" ++=======++\n";
cout<<" ** HASIL **\n";
cout<<" ++=======++\n\n";
if(a<0){
cout<<" Pixel : 0";
}else if(a>255){
cout<<" Pixel : 255";
}else{
cout<<" Pixel : "<<a;}
getch();
}
0 Response to "C++ Pixel"
Posting Komentar