Computer Tricks
Home
Tips And Tricks
Internet
Facebook
Games
Downloads
Software
Chrome
Mobile
Earn Online
Privacy policy
About
Showing posts with label
C# Programming
.
Show all posts
Showing posts with label
C# Programming
.
Show all posts
Friday, 17 March 2017
12:24
Write a Program to Display Factors of a Number.
Article Website
C# Programming
No comments
Write a Program to Display Factors of a Number. For Example:
Output :
Enter a positive integer: 60
Factors of 60 are: 1 2 3 4 5 6 12 15 20 30 60
int n;
Console.Write("Enter a Positive Number ");
n = Convert.ToInt32(Console.ReadLine());
Console.Write("Factors of {0} are :",n);
for (int i = 1; i < n; ++i)
{
if (n % i==0)
{
Console.Write(" "+i);
}
}
Read More
Older Posts
Subscribe to:
Posts (Atom)
Raja Muhammad Ali
Digital Marketing Agency
Labels
Android
C# Programming
Chrome
Computer
earn Online
Ecommerce Website
Entertainment
Facebook
Games
internet
Internet & Marketing
Mobiles
mozilla
Security
softwares
COLOURFUL ALPHABETS FOR FACEBOOK CHATTING
Hi friends, today I’m going to share one more facebook trick which will help you to impress your friends while chatting on facebook . Yo...
How To Increase Facebook Page Likes Free And Fast
Facebook is that the leading social network that is among high ten web site .so its world Alexa rank is a pair of. therefore the most of the...
Open Blocked Sites Free And Fast
Hello Friends, Today I have a trick for you. How to open Youtube or other blocked website. I hope this trick will surprise you. This is ve...
Keyboard Shorcuts For Facebook Chat Symbols
Hiiiiiiiiiiiiiiiii .: Friends Facebook craze is going to sky day by day so we are trying to discover more and more facebook tricks and t...
Candy Crush Cheat For Mozilla FireFox
Hello Friends :) Today I Have a Cheat For Candy Crush Saga . I Hope U Like This Trick Very Much :D This is very easy and simple trick. E...
How to Unfriend Multiple People at Once on Facebook
Are you missing out your friends’ necessary updates on Facebook timeline? as a result of you've got additional variety of unknown ...
Copyright @ 2024
Computer Tricks
.
Designed by
Templateism
|
MyBloggerLab