Wlcome to the blogging tifani

continue dan break C++ program menampilkan bilangan dari 1 sampai 100 kecuali bilangan yang habis di bagi 5

Sabtu, 11 Oktober 20140 komentar

#include<iostream.h>
#include<conio.h>
#include<stdlib.h>
int main()
{
int a;
for (a=0;a<=100;a++)
{
if (a%5==0)
continue ;
cout<<a<<"\t";
}
getch();
}
Share this article :

Posting Komentar

 
Support : Cara Gampang | Creating Website | Johny Template | Mas Templatea | Pusat Promosi
Copyright © 2015. TIfanie - All Rights Reserved
Template edited by Creating Website Modify by Teknologi Informasi kinie
Proudly powered by Blogger