9 years ago (Sep 06, 2015) | 2,646 views |
Output a string for many times in Java , C programming, JavaScript & Php
Category: Java Programming, Programming Tags: hack wifi router, how to hack router, out put a string for many times java, out put string for many times java script, output a strinf for many times c, output a string for many times java & c, output string for many times php by Rana
Here I am providing source code of a prograam.. By using this you can get the out put of a single input string for many times.You can do it by using a single for loop. So let’s Start
#Java
package Practice;
public class StringGenarate {
public static void main(String[] args) {
int n=100;
for (int i = 0; i < n; i++) {
System.out.println(“Here you need to give your input”);
}
}
}
#C_Programming
#include <stdio.h>
int main(){
int n=100;
int i=0;
for(i=0;i<n;i++){
printf(“Here you need to give your input\n”);
}
return 0;
}
#JavaScript
<!DOCTYPE html>
<html>
<body>
<p>It will excute the text for 100 times</p>
<p id=”demo”></p>
<script>
var text = “”;
var i;
for (i = 0; i < 100; i++) {
text += “Here you need to give your input <br>”;
}
document.getElementById(“demo”).innerHTML = text;
</script>
</body>
</html>
#Php
<?php
$n=0;
$txt=”Here you need to give your input<br/>”;
for($n=0;$n<100;$n++){
echo $txt;
}
?>
NB:Change the value of variable “n” 100 to how much output you want!
Output:
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
Here you need to give your input
31 responses to “Output a string for many times in Java , C programming, JavaScript & Php”
Leave a Reply
You must be logged in to post a comment.
Categories
- Android (24)
- Android Applications (15)
- Android Develop (6)
- Android Custom Rom (2)
- Android Root (6)
- Xposed (1)
- Android Games (1)
- Android Tips (7)
- Education (3)
- Examination Results (2)
- Facebook Tips (14)
- Featured (6)
- Free Internet Trick (13)
- Airtel Free Internet (2)
- BL Free Internet (2)
- Gp Free Internet (4)
- Robi Free Internet (2)
- Freelancing (2)
- Hacking (2)
- Hot (5)
- Java (2)
- Java Development (1)
- Mobile Tips (4)
- Operator News (43)
- Airtel (8)
- Banglalink (3)
- Grameenphone (25)
- Offer & Promotion (1)
- Robi (9)
- Teletalk (1)
- Other (8)
- Programming (6)
- Java Programming (6)
- Sponsored (1)
- Technology Update (1)
- TrickBD Updates (5)
- Web Development (13)
- Alexa Tips (1)
- Domain & Hosting (1)
- Seo (5)
- Wapka (3)
- wwordpress (2)
- Windows (4)
- Windows Games (1)
- Windows Tips (3)
good
… [Trackback]
[…] Read More here: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] Informations on that Topic: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] Informations on that Topic: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] Informations on that Topic: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] Read More: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] Informations on that Topic: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] Read More: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] Read More here: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] There you will find 28103 more Infos: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] Read More Infos here: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] Find More Informations here: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] Informations on that Topic: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] Read More here: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] Read More: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] Informations on that Topic: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] Read More: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] Read More: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] Informations on that Topic: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]
… [Trackback]
[…] Read More: en.trickbd.com/output-a-string-for-many-times-in-java-c-programming-javascript-php/6932 […]